Skip to content

fix: fix channel.membership type #847

fix: fix channel.membership type

fix: fix channel.membership type #847

Triggered via pull request May 16, 2024 12:30
Status Failure
Total duration 27s
Artifacts

type.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
test: 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'.
test: 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>'.
test: 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'.
test: 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'.
test
Process completed with exit code 2.
test
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/.