chore: add type linting #14
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; }'.
|