Skip to content

chore: add type linting #14

chore: add type linting

chore: add type linting #14

Triggered via pull request January 2, 2024 23:54
Status Failure
Total duration 21s
Artifacts

node.js.yml

on: pull_request
Matrix: Fmt, Lint, & Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Fmt, Lint, & Test (latest): host-targets.js#L8
Cannot find name 'module'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.
Fmt, Lint, & Test (latest): host-targets.js#L194
Parameter 'target' implicitly has an 'any' type.
Fmt, Lint, & Test (latest): host-targets.js#L194
Parameter 'ua' implicitly has an 'any' type.
Fmt, Lint, & Test (latest): host-targets.js#L194
Parameter 'terms' implicitly has an 'any' type.
Fmt, Lint, & Test (latest): host-targets.js#L194
Parameter 'hints' implicitly has an 'any' type.
Fmt, Lint, & Test (latest): host-targets.js#L230
Parameter 'target' implicitly has an 'any' type.
Fmt, Lint, & Test (latest): host-targets.js#L230
Parameter 'terms' implicitly has an 'any' type.
Fmt, Lint, & Test (latest): lexver-test.js#L6
Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.
Fmt, Lint, & Test (latest): lexver-test.js#L35
Expected 2 arguments, but got 1.
Fmt, Lint, & Test (latest): lexver-test.js#L80
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ default: string; matches: string[]; previous: string; previousStep: string; stable: string; nextStep: string; latest: string; next: string; }'.