fix missing types and jsDocs #170
Annotations
10 errors
Run npx 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.
|
Run npx tsc:
src/mocompiler.js#L56
Property 'length' does not exist on type 'GetTextTranslation'.
|
Run npx tsc:
src/mocompiler.js#L66
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
Run npx tsc:
src/mocompiler.js#L130
Type 'Buffer' is not assignable to type 'string'.
|
Run npx tsc:
src/mocompiler.js#L243
Property 'copy' does not exist on type 'string'.
|
Run npx tsc:
src/mocompiler.js#L252
Property 'copy' does not exist on type 'string[]'.
|
Run npx 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.
|
Run npx tsc:
src/pocompiler.js#L109
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'GetTextComment'.
|
Run npx tsc:
src/pocompiler.js#L306
Type 'string' is not assignable to type 'string[]'.
|
Run npx 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.
|
Loading