ansicolor
ansicolor copied to clipboard
new version broke type definitions
Could not find a declaration file for module 'ansicolor'. '/workspaces/meta-repo/repos/futarchy-indexer/node_modules/.pnpm/[email protected]/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 https://github.com/xpl/ansicolor/pull/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)