Skip to content

fix missing types and jsDocs #166

fix missing types and jsDocs

fix missing types and jsDocs #166

Triggered via pull request May 11, 2024 15:02
Status Failure
Total duration 1m 17s
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#L54
Property 'length' does not exist on type 'GetTextTranslation'.
Node.js 20 on ubuntu-latest: src/mocompiler.js#L64
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#L123
Type 'Buffer' is not assignable to type 'string'.
Node.js 20 on ubuntu-latest: src/mocompiler.js#L237
Property 'copy' does not exist on type 'string'.
Node.js 20 on ubuntu-latest: src/mocompiler.js#L246
Property 'copy' does not exist on type 'string[]'.
Node.js 20 on ubuntu-latest: src/moparser.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/pocompiler.js#L106
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'GetTextComment'.
Node.js 20 on ubuntu-latest: src/pocompiler.js#L304
Type 'string' is not assignable to type 'string[]'.
Node.js 20 on ubuntu-latest: src/poparser.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#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#L54
Property 'length' does not exist on type 'GetTextTranslation'.
Node.js 18 on ubuntu-latest: src/mocompiler.js#L64
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#L123
Type 'Buffer' is not assignable to type 'string'.
Node.js 18 on ubuntu-latest: src/mocompiler.js#L237
Property 'copy' does not exist on type 'string'.
Node.js 18 on ubuntu-latest: src/mocompiler.js#L246
Property 'copy' does not exist on type 'string[]'.
Node.js 18 on ubuntu-latest: src/moparser.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/pocompiler.js#L106
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'GetTextComment'.
Node.js 18 on ubuntu-latest: src/pocompiler.js#L304
Type 'string' is not assignable to type 'string[]'.
Node.js 18 on ubuntu-latest: src/poparser.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 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#L54
Property 'length' does not exist on type 'GetTextTranslation'.
Node.js 20 on windows-latest: src/mocompiler.js#L64
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#L123
Type 'Buffer' is not assignable to type 'string'.
Node.js 20 on windows-latest: src/mocompiler.js#L237
Property 'copy' does not exist on type 'string'.
Node.js 20 on windows-latest: src/mocompiler.js#L246
Property 'copy' does not exist on type 'string[]'.
Node.js 20 on windows-latest: src/moparser.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/pocompiler.js#L106
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'GetTextComment'.
Node.js 20 on windows-latest: src/pocompiler.js#L304
Type 'string' is not assignable to type 'string[]'.
Node.js 20 on windows-latest: src/poparser.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#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#L54
Property 'length' does not exist on type 'GetTextTranslation'.
Node.js 18 on windows-latest: src/mocompiler.js#L64
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#L123
Type 'Buffer' is not assignable to type 'string'.
Node.js 18 on windows-latest: src/mocompiler.js#L237
Property 'copy' does not exist on type 'string'.
Node.js 18 on windows-latest: src/mocompiler.js#L246
Property 'copy' does not exist on type 'string[]'.
Node.js 18 on windows-latest: src/moparser.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/pocompiler.js#L106
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'GetTextComment'.
Node.js 18 on windows-latest: src/pocompiler.js#L304
Type 'string' is not assignable to type 'string[]'.
Node.js 18 on windows-latest: src/poparser.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.