Skip to content

fix missing types and jsDocs #176

fix missing types and jsDocs

fix missing types and jsDocs #176

Triggered via pull request May 12, 2024 00:29
Status Success
Total duration 1m 5s
Artifacts

ci.yml

on: pull_request
Build with tsc
15s
Build with tsc
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Build with tsc: 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.
Build with tsc: src/mocompiler.js#L57
Property 'length' does not exist on type 'GetTextTranslation'.
Build with tsc: src/mocompiler.js#L67
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Build with tsc: src/mocompiler.js#L132
Type 'Buffer' is not assignable to type 'string'.
Build with tsc: src/mocompiler.js#L246
Type 'string' is not assignable to type 'Buffer'.
Build with tsc: src/mocompiler.js#L257
Type 'string' is not assignable to type 'Buffer'.
Build with tsc: 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.
Build with tsc: 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.
Build with tsc: src/poparser.js#L58
Property 'value' is missing in type '{}' but required in type 'Node'.
Build with tsc: src/poparser.js#L318
Type '{}' is not assignable to type 'string'.