Skip to content

mdx-js and TypeScript: What are the blockers from it from being rewritten in TS? #1540

Answered by ChristianMurphy
tony asked this question in Ideas
Discussion options

You must be logged in to vote

Unified, the underlying library supporting remark and mdx is in the process of adding native typings through TypeScript+JSDoc (see unifiedjs/rfcs#5, unifiedjs/unified#121, and https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html for more info).
Financial support to fund the effort is welcome! (https://opencollective.com/unified)

There may be interest in bringing it to MDX 2 as well.
Though disagreements around some of the planned features for version 2 have stalled new features and the GA release for a while.
Hopefully it can make it's way into MDX. In the meantime XDM (https://github.com/wooorm/xdm) offers another option, with native TS+JSDoc typings already provided.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ChristianMurphy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants