Skip to content

MDX and typescript? #1562

Discussion options

You must be logged in to vote

There is inside typescript files.
For version 1 see https://github.com/mdx-js/mdx/blob/v1.6.22/docs/advanced/typescript.mdx
For version 2 https://github.com/mdx-js/mdx/blob/v2.0.0-next.9/docs/advanced/typescript.mdx

As for type checking inside MDX files themselves, mdx-js/mdx-analyzer#165 and https://github.com/mdx-js/eslint-mdx are where this could live, but it has not been built out yet.
Contributions adding support or financial support to help move the effort forward are welcome!

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@marti6jm
Comment options

@ChristianMurphy
Comment options

Answer selected by ChristianMurphy
Comment options

You must be logged in to vote
1 reply
@ChristianMurphy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
☂️ area/types This affects typings
4 participants