Skip to content

fix missing types and jsDocs #170

fix missing types and jsDocs

fix missing types and jsDocs #170

Triggered via pull request May 11, 2024 19:18
Status Failure
Total duration 1m 4s
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#L56
Property 'length' does not exist on type 'GetTextTranslation'.
Node.js 20 on ubuntu-latest: src/mocompiler.js#L66
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#L130
Type 'Buffer' is not assignable to type 'string'.
Node.js 20 on ubuntu-latest: src/mocompiler.js#L243
Property 'copy' does not exist on type 'string'.
Node.js 20 on ubuntu-latest: src/mocompiler.js#L252
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#L109
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#L306
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#L56
Property 'length' does not exist on type 'GetTextTranslation'.
Node.js 18 on ubuntu-latest: src/mocompiler.js#L66
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#L130
Type 'Buffer' is not assignable to type 'string'.
Node.js 18 on ubuntu-latest: src/mocompiler.js#L243
Property 'copy' does not exist on type 'string'.
Node.js 18 on ubuntu-latest: src/mocompiler.js#L252
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#L109
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#L306
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 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#L56
Property 'length' does not exist on type 'GetTextTranslation'.
Node.js 18 on windows-latest: src/mocompiler.js#L66
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#L130
Type 'Buffer' is not assignable to type 'string'.
Node.js 18 on windows-latest: src/mocompiler.js#L243
Property 'copy' does not exist on type 'string'.
Node.js 18 on windows-latest: src/mocompiler.js#L252
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#L109
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#L306
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.
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#L56
Property 'length' does not exist on type 'GetTextTranslation'.
Node.js 20 on windows-latest: src/mocompiler.js#L66
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#L130
Type 'Buffer' is not assignable to type 'string'.
Node.js 20 on windows-latest: src/mocompiler.js#L243
Property 'copy' does not exist on type 'string'.
Node.js 20 on windows-latest: src/mocompiler.js#L252
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#L109
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#L306
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.