new version broke type definitions
decartesol opened this issue · comments
Could not find a declaration file for module 'ansicolor'. '/workspaces/meta-repo/repos/futarchy-indexer/node_modules/.pnpm/ansicolor@2.0.1/node_modules/ansicolor/build/ansicolor.mjs' implicitly has an 'any' type.
There are types at '/workspaces/meta-repo/repos/futarchy-indexer/packages/indexer/node_modules/ansicolor/ansicolor.d.ts', but this result could not be resolved when respecting package.json "exports". The 'ansicolor' library may need to update its package.json or typings.ts(7016)
Same issue here.
What's your moduleResolution
set to in your tsconfig.json
? You're probably hitting #22.
I'm going to publish the fix from #22 soon, hope it'll fix your issue
Please check if it works with the most recent version (2.0.3)