TS error with v7.0.0 - Type error: Module '"../../../node_modules/markdown-to-jsx/dist"' has no exported member 'MarkdownOptions'. Did you mean to use 'import MarkdownOptions from "../../../node_modules/markdown-to-jsx/dist"' instead?
See original GitHub issueThe TS types haven’t been published to definitelyTyped @types/markdown-to-jsx
and upgrading to v7.0.0 crashes because of some incompatibility.
I didn’t encounter this issue locally, but I did encounter it when deploying to Vercel:
I’ll rollback to 6.11.2 until newer TS types are added.
"markdown-to-jsx": "7.0.0",
"@types/markdown-to-jsx": "6.11.2",
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
How to solve the "module has no exported member" error?
Remove the line below from your statement export module Demo. and use it like export class ViewModel { constructor(public test: string) { }...
Read more >Module has no exported member error after upgrading to v7.0.0
I 'm currently working on a big client project due today, but should have time to circle back and take a closer look...
Read more >Solved: TypeScript compile errors - Esri Community
Solved: I have a basic index.ts file: import ArcGISMap from ... -demo/node_modules/@types/estree/index"' has no exported member named ...
Read more >Typescript errors when using @polkadot/api
I 'm assuming you meant import "@polkadot/api-augment/polkadot"; with the @ sign? Adding that line ups the error count from 127 to 767.... I...
Read more >Module '"@prismicio/client"' has no exported member 'Content'
As title states, I'm getting this error: This is my prismic.ts: import * as prismic from '@prismicio/client'; import * as prismicNext from ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fixed in 7.0.1 https://github.com/probablyup/markdown-to-jsx/releases/tag/7.0.1
a renders as an a, you don’t need to supply component unless you’re actually overriding the rendered output
Sent from my iPhone