You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using typescript and having noImplicitAny set to true in your tsconfig.json you will get the following erros
Errors
node_modules/.pnpm/[email protected]/node_modules/prismarine-nbt/typings/index.d.ts:61:19 - error TS7010: 'addTypesToCompiler', which lacks return-type annotation, implicitly has an 'any' return type.
61 export function addTypesToCompiler(type: NBTFormat, compiler)
~~~~~~~~~~~~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/prismarine-nbt/typings/index.d.ts:61:55 - error TS7006: Parameter 'compiler' implicitly has an 'any' type.
61 export function addTypesToCompiler(type: NBTFormat, compiler)
~~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/prismarine-nbt/typings/index.d.ts:63:19 - error TS7010: 'addTypesToInterpreter', which lacks return-type annotation, implicitly has an 'any' return type.
63 export function addTypesToInterpreter(type: NBTFormat, protodef)
~~~~~~~~~~~~~~~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/prismarine-nbt/typings/index.d.ts:63:58 - error TS7006: Parameter 'protodef' implicitly has an 'any' type.
63 export function addTypesToInterpreter(type: NBTFormat, protodef)
~~~~~~~~
Found 4 errors in the same file, starting at: node_modules/.pnpm/[email protected]/node_modules/prismarine-nbt/typings/index.d.ts:61
ELIFECYCLE Command failed with exit code 2.
These errors can be fixed by installing prismarine-nbt from source. (This github repo) Would it be possible to get a release made so it doesn't need to be installed from source.
The text was updated successfully, but these errors were encountered:
When using typescript and having
noImplicitAny
set to true in your tsconfig.json you will get the following errosErrors
These errors can be fixed by installing prismarine-nbt from source. (This github repo) Would it be possible to get a release made so it doesn't need to be installed from source.
The text was updated successfully, but these errors were encountered: