Skip to content

Type compatibility with unist-util-visit #278

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'.

Activity

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

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