Skip to content

Implement showing and sending media spoilers #46

Implement showing and sending media spoilers

Implement showing and sending media spoilers #46

Triggered via pull request September 8, 2023 13:26
Status Failure
Total duration 4m 53s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

static_analysis.yaml

on: pull_request
Matrix: Typescript Strict Error Checker
Fit to window
Zoom out
Zoom in

Annotations

35 errors and 4 warnings
Rethemendex Check
Process completed with exit code 1.
Style Lint
Process completed with exit code 2.
i18n Check / check
Process completed with exit code 1.
Typescript Syntax Check: src/AddThreepid.ts#L93
Property 'doesServerSupportSeparateAddAndBind' does not exist on type 'MatrixClient'.
Typescript Syntax Check: src/AddThreepid.ts#L156
Property 'doesServerSupportSeparateAddAndBind' does not exist on type 'MatrixClient'.
Typescript Syntax Check: src/AddThreepid.ts#L192
Property 'doesServerSupportSeparateAddAndBind' does not exist on type 'MatrixClient'.
Typescript Syntax Check: src/AddThreepid.ts#L237
Type 'IErrorJson' has no properties in common with type 'IAuthData'.
Typescript Syntax Check: src/AddThreepid.ts#L248
Property 'addThreePid' does not exist on type 'MatrixClient'.
Typescript Syntax Check: src/AddThreepid.ts#L294
Property 'doesServerSupportSeparateAddAndBind' does not exist on type 'MatrixClient'.
Typescript Syntax Check: src/AddThreepid.ts#L358
Type 'IErrorJson' has no properties in common with type 'IAuthData'.
Typescript Syntax Check: src/AddThreepid.ts#L369
Property 'addThreePid' does not exist on type 'MatrixClient'.
Typescript Syntax Check: src/HtmlUtils.tsx#L603
Property 'name' does not exist on type 'Element'.
Typescript Syntax Check: src/HtmlUtils.tsx#L604
Property 'attribs' does not exist on type 'Element'.
ESLint
Process completed with exit code 1.
Analyse Dead Code
Process completed with exit code 1.
Typescript Strict Error Checker (--strict --noImplicitAny)
The process '/usr/local/bin/node' failed with exit code 2
Typescript Strict Error Checker (--strict --noImplicitAny)
The process '/usr/local/bin/node' failed with exit code 2
Property 'errcode' does not exist on type '{ success: boolean; }'.: src/AddThreepid.ts#L314
src/AddThreepid.ts:314:20 - Property 'errcode' does not exist on type '{ success: boolean; }'.
Argument of type 'typeof Spinner' is not assignable to parameter of type 'ComponentType'.: src/ContentMessages.ts#L380
src/ContentMessages.ts:380:46 - Argument of type 'typeof Spinner' is not assignable to parameter of type 'ComponentType'.
Property 'town.robin.msc3725.content_warning' does not exist on type 'Omit<IMediaEventContent, "info"> & { info: Partial<IMediaEventInfo>; }'.: src/ContentMessages.ts#L501
src/ContentMessages.ts:501:13 - Element implicitly has an 'any' type because expression of type '"town.robin.msc3725.content_warning"' can't be used to index type 'Omit<IMediaEventContent, "info"> & { info: Partial<IMediaEventInfo>; }'.
Argument of type 'typeof ErrorDialog' is not assignable to parameter of type 'ComponentType'.: src/ContentMessages.ts#L594
src/ContentMessages.ts:594:36 - Argument of type 'typeof ErrorDialog' is not assignable to parameter of type 'ComponentType'.
Property 'name' does not exist on type 'TextElement'.: src/HtmlUtils.tsx#L601
src/HtmlUtils.tsx:601:29 - Property 'name' does not exist on type 'Element'.
Property 'attribs' does not exist on type 'TextElement'.: src/HtmlUtils.tsx#L601
src/HtmlUtils.tsx:601:73 - Property 'attribs' does not exist on type 'Element'.
Property 'attribs' does not exist on type 'TextElement'.: src/HtmlUtils.tsx#L601
src/HtmlUtils.tsx:601:95 - Property 'attribs' does not exist on type 'Element'.
Property 'attribs' does not exist on type 'TextElement'.: src/HtmlUtils.tsx#L602
src/HtmlUtils.tsx:602:29 - Property 'attribs' does not exist on type 'Element'.
Typescript Strict Error Checker (--noImplicitAny)
The process '/usr/local/bin/node' failed with exit code 2
Typescript Strict Error Checker (--noImplicitAny)
The process '/usr/local/bin/node' failed with exit code 2
Property 'errcode' does not exist on type '{ success: boolean; }'.: src/AddThreepid.ts#L314
src/AddThreepid.ts:314:20 - Property 'errcode' does not exist on type '{ success: boolean; }'.
Property 'town.robin.msc3725.content_warning' does not exist on type 'Omit<IMediaEventContent, "info"> & { info: Partial<IMediaEventInfo>; }'.: src/ContentMessages.ts#L501
src/ContentMessages.ts:501:13 - Element implicitly has an 'any' type because expression of type '"town.robin.msc3725.content_warning"' can't be used to index type 'Omit<IMediaEventContent, "info"> & { info: Partial<IMediaEventInfo>; }'.
Property 'name' does not exist on type 'TextElement'.: src/HtmlUtils.tsx#L601
src/HtmlUtils.tsx:601:29 - Property 'name' does not exist on type 'Element'.
Property 'attribs' does not exist on type 'TextElement'.: src/HtmlUtils.tsx#L601
src/HtmlUtils.tsx:601:73 - Property 'attribs' does not exist on type 'Element'.
Property 'attribs' does not exist on type 'TextElement'.: src/HtmlUtils.tsx#L601
src/HtmlUtils.tsx:601:95 - Property 'attribs' does not exist on type 'Element'.
Property 'attribs' does not exist on type 'TextElement'.: src/HtmlUtils.tsx#L602
src/HtmlUtils.tsx:602:29 - Property 'attribs' does not exist on type 'Element'.
Property 'attribs' does not exist on type 'TextElement'.: src/HtmlUtils.tsx#L602
src/HtmlUtils.tsx:602:47 - Property 'attribs' does not exist on type 'Element'.
Property 'type' is missing in type '{ token: string; initial_device_display_name: string; }' but required in type 'LoginRequest'.: src/Lifecycle.ts#L217
src/Lifecycle.ts:217:74 - Argument of type '{ token: string; initial_device_display_name: string; }' is not assignable to parameter of type 'LoginRequest'.
Typescript Strict Error Checker (--strict --noImplicitAny)
The following actions uses node12 which is deprecated and will be forced to run on node16: Equip-Collaboration/diff-line-numbers@df70b4b83e05105c15f20dc6cc61f1463411b2a6, t3chguy/typescript-check-action@main. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Typescript Strict Error Checker (--strict --noImplicitAny)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Typescript Strict Error Checker (--noImplicitAny)
The following actions uses node12 which is deprecated and will be forced to run on node16: Equip-Collaboration/diff-line-numbers@df70b4b83e05105c15f20dc6cc61f1463411b2a6, t3chguy/typescript-check-action@main. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Typescript Strict Error Checker (--noImplicitAny)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/