python 3.10.6
nodejs 20.4.0
When trying use npx tsc in mineflayer-collectblock folder i get this error
src/BlockVeins.ts:2:10 - error TS2305: Module '"prismarine-block"' has no exported member 'Block'.
2 import { Block } from 'prismarine-block'
~~~~~
src/CollectBlock.ts:2:10 - error TS2305: Module '"prismarine-block"' has no exported member 'Block'.
2 import { Block } from "prismarine-block";
~~~~~
src/CollectBlock.ts:186:9 - error TS2578: Unused '@ts-expect-error' directive.
186 // @ts-expect-error
~~~~~~~~~~~~~~~~~~~
src/Targets.ts:2:10 - error TS2305: Module '"prismarine-block"' has no exported member 'Block'.
2 import { Block } from 'prismarine-block'