Skip to content

fix missing types and jsDocs #160

fix missing types and jsDocs

fix missing types and jsDocs #160

Triggered via pull request May 10, 2024 20:06
Status Failure
Total duration 1m 14s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

40 errors
Node.js 20 on ubuntu-latest: src/mocompiler.js#L1
Could not find a declaration file for module 'encoding'. '/home/runner/work/gettext-parser/gettext-parser/node_modules/encoding/lib/encoding.js' implicitly has an 'any' type.
Node.js 20 on ubuntu-latest: src/mocompiler.js#L35
Type 'undefined' cannot be used as an index type.
Node.js 20 on ubuntu-latest: src/mocompiler.js#L35
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 20 on ubuntu-latest: src/mocompiler.js#L38
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 20 on ubuntu-latest: src/mocompiler.js#L38
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 20 on ubuntu-latest: src/mocompiler.js#L46
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 20 on ubuntu-latest: src/mocompiler.js#L48
Parameter 'item' implicitly has an 'any' type.
Node.js 20 on ubuntu-latest: src/mocompiler.js#L51
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 20 on ubuntu-latest: src/mocompiler.js#L58
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 20 on ubuntu-latest: src/mocompiler.js#L83
Object is possibly 'undefined'.
Node.js 18 on ubuntu-latest: src/mocompiler.js#L1
Could not find a declaration file for module 'encoding'. '/home/runner/work/gettext-parser/gettext-parser/node_modules/encoding/lib/encoding.js' implicitly has an 'any' type.
Node.js 18 on ubuntu-latest: src/mocompiler.js#L35
Type 'undefined' cannot be used as an index type.
Node.js 18 on ubuntu-latest: src/mocompiler.js#L35
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 18 on ubuntu-latest: src/mocompiler.js#L38
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 18 on ubuntu-latest: src/mocompiler.js#L38
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 18 on ubuntu-latest: src/mocompiler.js#L46
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 18 on ubuntu-latest: src/mocompiler.js#L48
Parameter 'item' implicitly has an 'any' type.
Node.js 18 on ubuntu-latest: src/mocompiler.js#L51
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 18 on ubuntu-latest: src/mocompiler.js#L58
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 18 on ubuntu-latest: src/mocompiler.js#L83
Object is possibly 'undefined'.
Node.js 18 on windows-latest: src/mocompiler.js#L1
Could not find a declaration file for module 'encoding'. 'D:/a/gettext-parser/gettext-parser/node_modules/encoding/lib/encoding.js' implicitly has an 'any' type.
Node.js 18 on windows-latest: src/mocompiler.js#L35
Type 'undefined' cannot be used as an index type.
Node.js 18 on windows-latest: src/mocompiler.js#L35
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 18 on windows-latest: src/mocompiler.js#L38
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 18 on windows-latest: src/mocompiler.js#L38
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 18 on windows-latest: src/mocompiler.js#L46
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 18 on windows-latest: src/mocompiler.js#L48
Parameter 'item' implicitly has an 'any' type.
Node.js 18 on windows-latest: src/mocompiler.js#L51
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 18 on windows-latest: src/mocompiler.js#L58
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 18 on windows-latest: src/mocompiler.js#L83
Object is possibly 'undefined'.
Node.js 20 on windows-latest: src/mocompiler.js#L1
Could not find a declaration file for module 'encoding'. 'D:/a/gettext-parser/gettext-parser/node_modules/encoding/lib/encoding.js' implicitly has an 'any' type.
Node.js 20 on windows-latest: src/mocompiler.js#L35
Type 'undefined' cannot be used as an index type.
Node.js 20 on windows-latest: src/mocompiler.js#L35
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 20 on windows-latest: src/mocompiler.js#L38
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 20 on windows-latest: src/mocompiler.js#L38
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 20 on windows-latest: src/mocompiler.js#L46
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 20 on windows-latest: src/mocompiler.js#L48
Parameter 'item' implicitly has an 'any' type.
Node.js 20 on windows-latest: src/mocompiler.js#L51
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 20 on windows-latest: src/mocompiler.js#L58
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Node.js 20 on windows-latest: src/mocompiler.js#L83
Object is possibly 'undefined'.