Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new version broke type definitions #24

Open
decartesol opened this issue Feb 27, 2024 · 4 comments
Open

new version broke type definitions #24

decartesol opened this issue Feb 27, 2024 · 4 comments

Comments

@decartesol
Copy link

decartesol commented Feb 27, 2024

image

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)
@pernydev
Copy link

pernydev commented Mar 3, 2024

Same issue here.

@Cherry
Copy link
Contributor

Cherry commented Mar 3, 2024

What's your moduleResolution set to in your tsconfig.json? You're probably hitting #22.

@xpl
Copy link
Owner

xpl commented Mar 3, 2024

I'm going to publish the fix from #22 soon, hope it'll fix your issue

@xpl
Copy link
Owner

xpl commented Mar 3, 2024

Please check if it works with the most recent version (2.0.3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants