Skip to content

Type compatibility with unist-util-visit #278

Open
@SeriousBug

Description

@SeriousBug

Hi, while the parser is compatible with unist, the types do not seem to be compatible. Using the visit function from unist-util-visit, I get the following type error:

Argument of type 'Root' is not assignable to parameter of type 'Node'.
  Index signature is missing in type 'Root'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions