Skip to content

Fix lint and format #1452

Fix lint and format

Fix lint and format #1452

Triggered via push March 14, 2024 17:04
Status Failure
Total duration 28s
Artifacts

nodejs.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

21 errors
build (lts/*): src/index.test.ts#L20
Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.
build (lts/*): src/index.test.ts#L20
Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'.
build (lts/*): src/index.test.ts#L32
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
build (lts/*): src/index.test.ts#L32
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
build (lts/*): src/index.test.ts#L34
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
build (lts/*): src/index.test.ts#L43
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
build (lts/*): src/index.test.ts#L45
Type 'Promise<unknown>' is not assignable to type 'Promise<TestList>'.
build (lts/*): src/index.test.ts#L53
Property 'filter' does not exist on type 'TestList'.
build (lts/*): src/index.test.ts#L53
Parameter 'item' implicitly has an 'any' type.
build (lts/*): src/index.test.ts#L54
Parameter 'item' implicitly has an 'any' type.
build (latest)
The job was canceled because "lts__" failed.
build (latest): src/index.test.ts#L20
Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.
build (latest): src/index.test.ts#L20
Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'.
build (latest): src/index.test.ts#L32
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
build (latest): src/index.test.ts#L32
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
build (latest): src/index.test.ts#L34
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
build (latest): src/index.test.ts#L43
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
build (latest): src/index.test.ts#L45
Type 'Promise<unknown>' is not assignable to type 'Promise<TestList>'.
build (latest): src/index.test.ts#L53
Property 'filter' does not exist on type 'TestList'.
build (latest): src/index.test.ts#L53
Parameter 'item' implicitly has an 'any' type.
build (latest): src/index.test.ts#L54
Parameter 'item' implicitly has an 'any' type.