fix missing types and jsDocs #164
Annotations
10 errors
Run npx tsc:
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.
|
Run npx tsc:
src/mocompiler.js#L54
Property 'length' does not exist on type 'GetTextTranslation'.
|
Run npx tsc:
src/mocompiler.js#L64
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
Run npx tsc:
src/mocompiler.js#L123
Type 'Buffer' is not assignable to type 'string'.
|
Run npx tsc:
src/mocompiler.js#L237
Property 'copy' does not exist on type 'string'.
|
Run npx tsc:
src/mocompiler.js#L246
Property 'copy' does not exist on type 'string[]'.
|
Run npx tsc:
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.
|
Run npx tsc:
src/pocompiler.js#L106
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#L304
Type 'string' is not assignable to type 'string[]'.
|
Run npx tsc:
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.
|
Loading