Replace 'any' with 'unknown' to avoid certain typescript pitfalls #27
Annotations
9 errors and 2 warnings
tests/demoComponent.ts#L1
Argument of type '(request: Request) => Response' is not assignable to parameter of type '(request: unknown) => Response | Promise<Response>'.
|
tests/demoComponent.ts#L1
Object is of type 'unknown'.
|
tests/demoComponent.ts#L1
Object is of type 'unknown'.
|
tests/demoComponent.ts#L1
Object is of type 'unknown'.
|
tests/demoComponent.ts#L1
No overload matches this call.
|
tests/demoComponent.ts#L1
Argument of type 'unknown' is not assignable to parameter of type 'string | Record<string, string> | URLSearchParams | string[][] | undefined'.
|
tests/demoComponent.ts#L1
Argument of type '({ parameters }: { parameters: { [k: string]: unknown; }; }) => Promise<unknown>' is not assignable to parameter of type 'EmbedCallback'.
|
tests/demoComponent.ts#L1
Argument of type '() => Promise<unknown>' is not assignable to parameter of type 'WidgetCallback'.
|
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
This job failed
Loading