refactor: support draft management through MessageComposer #7175
ci.yml
on: push
TypeScript
19s
Lint & test with Node
40s
Annotations
21 errors and 1 warning
TypeScript:
src/components/Channel/Channel.tsx#L1070
Type 'undefined' is not assignable to type 'ErrorFromResponse<APIErrorResponse> | null'.
|
TypeScript:
src/components/Channel/hooks/useEditMessageHandler.ts#L24
Expected 1-2 arguments, but got 3.
|
TypeScript:
src/components/MessageInput/MessageInput.tsx#L140
Property 'createDraft' does not exist on type 'MessageComposer'.
|
TypeScript:
src/components/Poll/PollCreationDialog/MultipleAnswersField.tsx#L8
Module '"stream-chat"' has no exported member 'PollComposerState'.
|
TypeScript:
src/components/Poll/PollCreationDialog/MultipleAnswersField.tsx#L18
Property 'pollComposer' does not exist on type 'MessageComposer'.
|
TypeScript:
src/components/Poll/PollCreationDialog/NameField.tsx#L7
Module '"stream-chat"' has no exported member 'PollComposerState'.
|
TypeScript:
src/components/Poll/PollCreationDialog/NameField.tsx#L16
Property 'pollComposer' does not exist on type 'MessageComposer'.
|
TypeScript:
src/components/Poll/PollCreationDialog/OptionFieldSet.tsx#L8
Module '"stream-chat"' has no exported member 'PollComposerState'.
|
TypeScript:
src/components/Poll/PollCreationDialog/OptionFieldSet.tsx#L16
Property 'pollComposer' does not exist on type 'MessageComposer'.
|
TypeScript:
src/components/Poll/PollCreationDialog/OptionFieldSet.tsx#L41
Parameter 'option' implicitly has an 'any' type.
|
Lint & test with Node
Process completed with exit code 1.
|
Lint & test with Node
Type 'undefined' is not assignable to type 'ErrorFromResponse<APIErrorResponse> | null'.\n" +
|
Lint & test with Node
Expected 1-2 arguments, but got 3.\n' +
|
Lint & test with Node
Property 'createDraft' does not exist on type 'MessageComposer'.\n" +
|
Lint & test with Node
Module '"stream-chat"' has no exported member 'PollComposerState'.\n` +
|
Lint & test with Node
Property 'pollComposer' does not exist on type 'MessageComposer'.\n" +
|
Lint & test with Node
Module '"stream-chat"' has no exported member 'PollComposerState'.\n` +
|
Lint & test with Node
Property 'pollComposer' does not exist on type 'MessageComposer'.\n" +
|
Lint & test with Node
Module '"stream-chat"' has no exported member 'PollComposerState'.\n` +
|
Lint & test with Node
Property 'pollComposer' does not exist on type 'MessageComposer'.\n" +
|
Lint & test with Node
Parameter 'option' implicitly has an 'any' type.\n" +
|
Lint & test with Node:
src/context/ChannelStateContext.tsx#L10
'Thread' is defined but never used
|