[typescript-plugin] Doesn't understand component map #467
Labels
🗄 area/interface
This affects the public interface
👍 phase/yes
Post is accepted and can be worked on
🐛 type/bug
This is a problem
🙆 yes/confirmed
This is confirmed and ready to be worked on
Initial checklist
Affected packages and versions
MDX extension v1.8.9
Link to runnable example
https://codesandbox.io/p/github/aaronadamsCA/mdx-issues/main?file=/src/mdx.mdx
Steps to reproduce
You'll have to run the reproduction in an environment that supports Visual Studio Code extensions.
The TypeScript plugin doesn't seem to understand a component map in a
.mdx
file:Expected behavior
No errors or warnings.
Actual behavior
The plugin isn't recognizing the destructured
Component
and the JSX<Component />
as the same object, whereas the actual MDX parser has no problem with this syntax.Runtime
No response
Package manager
No response
OS
No response
Build and bundle tools
No response
The text was updated successfully, but these errors were encountered: