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

Static Typing in MDX stories #11712

Closed
pladaria opened this issue Jul 28, 2020 · 1 comment
Closed

Static Typing in MDX stories #11712

pladaria opened this issue Jul 28, 2020 · 1 comment

Comments

@pladaria
Copy link

Our components library is written in Typescript.

Writing stories using MDX is nice but we lose static typing checks so stories can easily get outdated without notifying. I was unable to find a solution for this so for now we keep using CSF.

Is there any tooling/configuration to typecheck MDX files?

@shilman
Copy link
Member

shilman commented Jul 29, 2020

Not AFAIK. I know MDX v2 is coming out soon and might have some Typescript-related features, but I'm unclear on the extent of that work. You're better off asking there: mdx-js/mdx#1041

@shilman shilman closed this as completed Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants