Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Update analytics for FormattedMessage events #18004

Update analytics for FormattedMessage events

Update analytics for FormattedMessage events #18004

Triggered via pull request July 12, 2023 13:20
Status Failure
Total duration 2m 40s
Artifacts

static_analysis.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Typescript Syntax Check: src/AddThreepid.ts#L259
Type 'string | undefined' is not assignable to type 'string'.
Typescript Syntax Check: src/AddThreepid.ts#L380
Type 'string | undefined' is not assignable to type 'string'.
Typescript Syntax Check: src/components/views/dialogs/DeactivateAccountDialog.tsx#L133
Argument of type 'IAuthData | null' is not assignable to parameter of type 'AuthDict | undefined'.
Typescript Syntax Check: src/components/views/dialogs/DeactivateAccountDialog.tsx#L166
Argument of type 'null' is not assignable to parameter of type 'AuthDict | undefined'.
Typescript Syntax Check: src/components/views/dialogs/devtools/RoomState.tsx#L41
Argument of type 'IContent | undefined' is not assignable to parameter of type 'IContent'.
Typescript Syntax Check: src/components/views/rooms/BasicMessageComposer.tsx#L19
Cannot find module '@matrix-org/analytics-events/types/typescript/FormattedMessage' or its corresponding type declarations.
Typescript Syntax Check: src/components/views/rooms/EditMessageComposer.tsx#L313
Argument of type '{ eventName: "Composer"; isEditing: true; inThread: boolean; isReply: boolean; isLocation: boolean; editor: string; isMarkdownEnabled: any; }' is not assignable to parameter of type 'Composer'.
Typescript Syntax Check: src/components/views/rooms/SendMessageComposer.tsx#L452
Type '{ eventName: "Composer"; isEditing: false; isReply: boolean; inThread: boolean; isLocation: boolean; editor: string; isMarkdownEnabled: any; }' is not assignable to type 'Composer'.
Typescript Syntax Check: src/components/views/rooms/wysiwyg_composer/components/FormattingButtons.tsx#L19
Cannot find module '@matrix-org/analytics-events/types/typescript/FormattedMessage' or its corresponding type declarations.
Typescript Syntax Check: src/components/views/rooms/wysiwyg_composer/utils/message.ts#L69
Type '{ eventName: "Composer"; isEditing: false; isReply: boolean; inThread: boolean; isLocation: boolean; editor: string; isMarkdownEnabled: boolean; }' is not assignable to type 'Composer'.