Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type compatibility with unist-util-visit #278

Open
SeriousBug opened this issue Aug 3, 2021 · 0 comments
Open

Type compatibility with unist-util-visit #278

SeriousBug opened this issue Aug 3, 2021 · 0 comments

Comments

@SeriousBug
Copy link

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'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant