Skip to content

Content model of type extensions to hast are incorrect #7

@wooorm

Description

@wooorm
Member

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)

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

Activity

github-actions

github-actions commented on Jan 5, 2023

@github-actions
github-actions

github-actions commented on Jan 31, 2023

@github-actions
github-actions

github-actions commented on Jan 31, 2023

@github-actions
wooorm

wooorm commented on Jan 31, 2023

@wooorm
MemberAuthor

weird caching, github!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @wooorm

        Issue actions

          Content model of type extensions to hast are incorrect · Issue #7 · syntax-tree/mdast-util-mdx-jsx