fix missing types and jsDocs #162
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#L18
Parameter 'headers' implicitly has an 'any' type.
|
Node.js 20 on ubuntu-latest:
src/mocompiler.js#L25
Type 'undefined' cannot be used as an index type.
|
Node.js 20 on ubuntu-latest:
src/mocompiler.js#L28
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#L44
Property 'msgstr' does not exist on type 'GetTextTranslation[]'.
|
Node.js 20 on ubuntu-latest:
src/mocompiler.js#L44
Parameter 'item' implicitly has an 'any' type.
|
Node.js 20 on ubuntu-latest:
src/mocompiler.js#L47
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#L54
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#L91
Element implicitly has an 'any' type because expression of type '"Content-Type"' can't be used to index type '{}'.
|
Node.js 20 on ubuntu-latest:
src/mocompiler.js#L93
Property 'charset' does not exist on type '{ translations: {}; headers: {}; }'.
|
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#L18
Parameter 'headers' implicitly has an 'any' type.
|
Node.js 18 on ubuntu-latest:
src/mocompiler.js#L25
Type 'undefined' cannot be used as an index type.
|
Node.js 18 on ubuntu-latest:
src/mocompiler.js#L28
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#L44
Property 'msgstr' does not exist on type 'GetTextTranslation[]'.
|
Node.js 18 on ubuntu-latest:
src/mocompiler.js#L44
Parameter 'item' implicitly has an 'any' type.
|
Node.js 18 on ubuntu-latest:
src/mocompiler.js#L47
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#L54
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#L91
Element implicitly has an 'any' type because expression of type '"Content-Type"' can't be used to index type '{}'.
|
Node.js 18 on ubuntu-latest:
src/mocompiler.js#L93
Property 'charset' does not exist on type '{ translations: {}; headers: {}; }'.
|
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#L18
Parameter 'headers' implicitly has an 'any' type.
|
Node.js 20 on windows-latest:
src/mocompiler.js#L25
Type 'undefined' cannot be used as an index type.
|
Node.js 20 on windows-latest:
src/mocompiler.js#L28
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#L44
Property 'msgstr' does not exist on type 'GetTextTranslation[]'.
|
Node.js 20 on windows-latest:
src/mocompiler.js#L44
Parameter 'item' implicitly has an 'any' type.
|
Node.js 20 on windows-latest:
src/mocompiler.js#L47
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#L54
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#L91
Element implicitly has an 'any' type because expression of type '"Content-Type"' can't be used to index type '{}'.
|
Node.js 20 on windows-latest:
src/mocompiler.js#L93
Property 'charset' does not exist on type '{ translations: {}; headers: {}; }'.
|
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#L18
Parameter 'headers' implicitly has an 'any' type.
|
Node.js 18 on windows-latest:
src/mocompiler.js#L25
Type 'undefined' cannot be used as an index type.
|
Node.js 18 on windows-latest:
src/mocompiler.js#L28
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#L44
Property 'msgstr' does not exist on type 'GetTextTranslation[]'.
|
Node.js 18 on windows-latest:
src/mocompiler.js#L44
Parameter 'item' implicitly has an 'any' type.
|
Node.js 18 on windows-latest:
src/mocompiler.js#L47
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#L54
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#L91
Element implicitly has an 'any' type because expression of type '"Content-Type"' can't be used to index type '{}'.
|
Node.js 18 on windows-latest:
src/mocompiler.js#L93
Property 'charset' does not exist on type '{ translations: {}; headers: {}; }'.
|