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

Export mdast type augmentations to be visible to users #83

Open
lschmelzeisen opened this issue May 27, 2024 · 0 comments
Open

Export mdast type augmentations to be visible to users #83

lschmelzeisen opened this issue May 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@lschmelzeisen
Copy link

Is your feature request related to a problem? Please describe.

If a user wants to work directly with the AST output of remark-mdc (instead of only piping it into remark-rehype), there is currently no type safe way to do so. As the type augmentations in src/micromark-extension/types.ts do not show up in the distribution bundle.

Describe the solution you'd like to see

Exporting everything in src/micromark-extension/types.ts from src/index.ts should solve this.

@lschmelzeisen lschmelzeisen added the enhancement New feature or request label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant