refactor: adapt AttachmentPreviewList to LLC attachment types #7180
ci.yml
on: push
TypeScript
1m 6s
Lint & test with Node
1m 20s
Annotations
21 errors and 1 warning
|
TypeScript:
src/components/Attachment/Attachment.tsx#L3
'"stream-chat"' has no exported member named 'isAudioAttachment'. Did you mean 'AudioAttachment'?
|
|
TypeScript:
src/components/Attachment/Attachment.tsx#L4
'"stream-chat"' has no exported member named 'isImageAttachment'. Did you mean 'isLocalImageAttachment'?
|
|
TypeScript:
src/components/Attachment/Attachment.tsx#L6
'"stream-chat"' has no exported member named 'isVoiceRecordingAttachment'. Did you mean 'VoiceRecordingAttachment'?
|
|
TypeScript:
src/components/Attachment/utils.tsx#L78
Property 'mime_type' does not exist on type 'Attachment | LocalAttachment'.
|
|
TypeScript:
src/components/Attachment/utils.tsx#L79
Property 'mime_type' does not exist on type 'Attachment | LocalAttachment'.
|
|
TypeScript:
src/components/Attachment/utils.tsx#L89
Property 'mime_type' does not exist on type 'Attachment | LocalAttachment'.
|
|
TypeScript:
src/components/Attachment/utils.tsx#L90
Property 'mime_type' does not exist on type 'Attachment | LocalAttachment'.
|
|
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/AttachmentPreviewList/AttachmentPreviewList.tsx#L5
'"stream-chat"' has no exported member named 'isLocalAudioAttachment'. Did you mean 'LocalAudioAttachment'?
|
|
Lint & test with Node
Process completed with exit code 1.
|
|
Lint & test with Node
'"stream-chat"' has no exported member named 'isAudioAttachment'. Did you mean 'AudioAttachment'?\n` +
|
|
Lint & test with Node
'"stream-chat"' has no exported member named 'isImageAttachment'. Did you mean 'isLocalImageAttachment'?\n` +
|
|
Lint & test with Node
'"stream-chat"' has no exported member named 'isVoiceRecordingAttachment'. Did you mean 'VoiceRecordingAttachment'?\n` +
|
|
Lint & test with Node
Property 'mime_type' does not exist on type 'Attachment | LocalAttachment'.\n" +
|
|
Lint & test with Node
Property 'mime_type' does not exist on type 'Attachment | LocalAttachment'.\n" +
|
|
Lint & test with Node
Property 'mime_type' does not exist on type 'Attachment | LocalAttachment'.\n" +
|
|
Lint & test with Node
Property 'mime_type' does not exist on type 'Attachment | LocalAttachment'.\n" +
|
|
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
'"stream-chat"' has no exported member named 'isLocalAudioAttachment'. Did you mean 'LocalAudioAttachment'?\n` +
|
|
Lint & test with Node:
src/context/ChannelStateContext.tsx#L10
'Thread' is defined but never used
|