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

Types not found on fresh install and import #111

Open
AldieryGonzalez opened this issue Oct 30, 2024 · 0 comments
Open

Types not found on fresh install and import #111

AldieryGonzalez opened this issue Oct 30, 2024 · 0 comments

Comments

@AldieryGonzalez
Copy link

Describe the bug
Types are not found for the package, although it does find the

To Reproduce
Steps to reproduce the behaviour including how the markdown file is processed:

  1. Import Package as seen below

Expected behavior
This is not breaking but just to have some stronger types so this error doesnt break my linters

Screenshots
image
image

Stack trace
Could not find a declaration file for module 'mdx-mermaid'. '/home/aldiery/repos/paradigm-study-web/node_modules/mdx-mermaid/lib/mdxast-mermaid.mjs' implicitly has an 'any' type.
There are types at '/home/aldiery/repos/paradigm-study-web/node_modules/mdx-mermaid/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'mdx-mermaid' library may need to update its package.json or typings.

Tool chain used:

  • NextJs MDX
  • Typescript
  • EcmaScript Modules
@AldieryGonzalez AldieryGonzalez changed the title On Types not found on fresh install and import Oct 30, 2024
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

1 participant