You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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
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
The text was updated successfully, but these errors were encountered:
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:
Expected behavior
This is not breaking but just to have some stronger types so this error doesnt break my linters
Screenshots
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:
The text was updated successfully, but these errors were encountered: