Skip to content

Improve the format of Dependent Type Definition File #736

Improve the format of Dependent Type Definition File

Improve the format of Dependent Type Definition File #736

Triggered via pull request June 15, 2024 05:44
Status Failure
Total duration 40s
Artifacts

ci-node.yml

on: pull_request
lint
24s
lint
verify-if-example-is-outdated
16s
verify-if-example-is-outdated
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

24 errors
verify-if-example-is-outdated
Argument of type '{ filePath: string; tokens: Token[]; emitDeclarationMap: boolean; dtsFormatOptions: undefined; cwd: string; isExternalFile: () => boolean; }' is not assignable to parameter of type 'EmitterOptions'.
verify-if-example-is-outdated
Argument of type '{ emitDeclarationMap: false; filePath: string; tokens: Token[]; dtsFormatOptions: undefined; cwd: string; isExternalFile: () => boolean; }' is not assignable to parameter of type 'EmitterOptions'.
verify-if-example-is-outdated
Module '"./locator/index.js"' has no exported member 'Token'.
verify-if-example-is-outdated
Module '"../locator/index.js"' has no exported member 'Token'.
verify-if-example-is-outdated
Property 'tokens' does not exist on type 'LoadResult'.
verify-if-example-is-outdated
Parameter 'token' implicitly has an 'any' type.
verify-if-example-is-outdated
Property 'tokens' does not exist on type 'LoadResult'.
verify-if-example-is-outdated
Parameter 'token' implicitly has an 'any' type.
verify-if-example-is-outdated
Property 'tokens' does not exist on type 'LoadResult'.
verify-if-example-is-outdated
Parameter 'token' implicitly has an 'any' type.
test (20)
Process completed with exit code 1.
test (22)
Process completed with exit code 1.
test (22, ^3.0.0)
Process completed with exit code 1.
test (18)
Process completed with exit code 1.
lint: packages/happy-css-modules/src/test-util/util.ts#L43
Operands of '+' operation with any is possible only with string, number, bigint or any
lint: packages/happy-css-modules/src/emitter/index.test.ts#L40
Argument of type '{ filePath: string; tokens: Token[]; emitDeclarationMap: boolean; dtsFormatOptions: undefined; cwd: string; isExternalFile: () => boolean; }' is not assignable to parameter of type 'EmitterOptions'.
lint: packages/happy-css-modules/src/emitter/index.test.ts#L49
Argument of type '{ emitDeclarationMap: false; filePath: string; tokens: Token[]; dtsFormatOptions: undefined; cwd: string; isExternalFile: () => boolean; }' is not assignable to parameter of type 'EmitterOptions'.
lint: packages/happy-css-modules/src/index.ts#L10
Module '"./locator/index.js"' has no exported member 'Token'.
lint: packages/happy-css-modules/src/test-util/util.ts#L7
Module '"../locator/index.js"' has no exported member 'Token'.
lint: packages/happy-css-modules/src/transformer/index.test.ts#L23
Property 'tokens' does not exist on type 'LoadResult'.
lint: packages/happy-css-modules/src/transformer/index.test.ts#L23
Parameter 'token' implicitly has an 'any' type.
lint: packages/happy-css-modules/src/transformer/index.test.ts#L36
Property 'tokens' does not exist on type 'LoadResult'.
lint: packages/happy-css-modules/src/transformer/index.test.ts#L36
Parameter 'token' implicitly has an 'any' type.
lint: packages/happy-css-modules/src/transformer/index.test.ts#L49
Property 'tokens' does not exist on type 'LoadResult'.