-
-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
help wanted 🙏This could use your insight or helpThis could use your insight or help🗄 area/interfaceThis affects the public interfaceThis affects the public interface🙉 open/needs-infoThis needs some more infoThis needs some more info🤞 phase/openPost is being triaged manuallyPost is being triaged manually🦋 type/enhancementThis is great to haveThis is great to have🧒 semver/minorThis is backwards-compatible changeThis is backwards-compatible change
Description
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and couldn’t find anything (or linked relevant results below)
Problem
Currentle the language service only supports unified plugins that register micromark syntax extensions. It doesn’t support transformer plugins yet.
For example, remark-mdx-frontmatter
, rehype-mdx-title
, and recma-nextjs-static-props
provide a transformers that injects ESM exports into the AST.
Solution
TypeScript needs to be aware of injected variables and their types. I don’t know how yet.
Alternatives
🤷
Metadata
Metadata
Assignees
Labels
help wanted 🙏This could use your insight or helpThis could use your insight or help🗄 area/interfaceThis affects the public interfaceThis affects the public interface🙉 open/needs-infoThis needs some more infoThis needs some more info🤞 phase/openPost is being triaged manuallyPost is being triaged manually🦋 type/enhancementThis is great to haveThis is great to have🧒 semver/minorThis is backwards-compatible changeThis is backwards-compatible change