fix missing types and jsDocs #176
ci.yml
on: pull_request
Build with tsc
15s
Matrix: test
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'.
|