syntax-tree/mdast-util-mdx-jsx

Content model of type extensions to hast are incorrect

wooorm opened this issue · 4 comments

Initial checklist

Affected packages and versions

latest

Link to runnable example

No response

Steps to reproduce

declare module 'hast' {
interface RootContentMap {
mdxJsxTextElement: MdxJsxTextElement
mdxJsxFlowElement: MdxJsxFlowElement
}
interface ElementContentMap {
mdxJsxTextElement: MdxJsxTextElement
mdxJsxFlowElement: MdxJsxFlowElement
}
}

Expected behavior

should contain hast children

Actual behavior

contains mdast nodes

Affected runtime and version

latest

Affected package manager and version

No response

Affected OS and version

No response

Build and bundle tools

No response

Hi! This was marked as ready to be worked on! Note that while this is ready to be worked on, nothing is said about priority: it may take a while for this to be solved.

Is this something you can and want to work on?

Team: please use the area/* (to describe the scope of the change), platform/* (if this is related to a specific one), and semver/* and type/* labels to annotate this. If this is first-timers friendly, add good first issue and if this could use help, add help wanted.

Hi! This was closed. Team: If this was fixed, please add phase/solved. Otherwise, please add one of the no/* labels.

Hi! This was marked as ready to be worked on! Note that while this is ready to be worked on, nothing is said about priority: it may take a while for this to be solved.

Is this something you can and want to work on?

Team: please use the area/* (to describe the scope of the change), platform/* (if this is related to a specific one), and semver/* and type/* labels to annotate this. If this is first-timers friendly, add good first issue and if this could use help, add help wanted.

weird caching, github!