Skip to content

fix: added missing typescript types #1131

fix: added missing typescript types

fix: added missing typescript types #1131

Triggered via pull request May 16, 2024 13:07
Status Failure
Total duration 28s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
lint: src/channel.ts#L1640
Type 'ReactionResponse<{ attachmentType: StreamChatGenerics["attachmentType"]; channelType: StreamChatGenerics["channelType"]; commandType: StreamChatGenerics["commandType"]; ... 5 more ...; userType: StreamChatGenerics["userType"]; }>[] | null | undefined' is not assignable to type 'ReactionResponse<StreamChatGenerics>[] | null | undefined'.
lint: src/channel_state.ts#L200
Argument of type 'UserResponse<{ attachmentType: StreamChatGenerics["attachmentType"]; channelType: StreamChatGenerics["channelType"]; commandType: StreamChatGenerics["commandType"]; ... 5 more ...; userType: StreamChatGenerics["userType"]; }>' is not assignable to parameter of type 'UserResponse<StreamChatGenerics>'.
lint: src/channel_state.ts#L307
Argument of type 'ReactionResponse<{ attachmentType: StreamChatGenerics["attachmentType"]; channelType: StreamChatGenerics["channelType"]; commandType: StreamChatGenerics["commandType"]; ... 5 more ...; userType: StreamChatGenerics["userType"]; }>[] | null | undefined' is not assignable to parameter of type 'ReactionResponse<StreamChatGenerics>[] | null | undefined'.
lint: src/channel_state.ts#L346
Argument of type 'ReactionResponse<{ attachmentType: StreamChatGenerics["attachmentType"]; channelType: StreamChatGenerics["channelType"]; commandType: StreamChatGenerics["commandType"]; ... 5 more ...; userType: StreamChatGenerics["userType"]; }>[] | null | undefined' is not assignable to parameter of type 'ReactionResponse<StreamChatGenerics>[] | null | undefined'.
lint
Process completed with exit code 2.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.