Skip to content

Missing @types/unist in package.json dependencies #3

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

Closed
4 tasks done
alvinleung1996 opened this issue Nov 19, 2021 · 2 comments · Fixed by #4
Closed
4 tasks done

Missing @types/unist in package.json dependencies #3

alvinleung1996 opened this issue Nov 19, 2021 · 2 comments · Fixed by #4
Labels
💪 phase/solved Post is done

Comments

@alvinleung1996
Copy link
Contributor

Initial checklist

Affected packages and versions

mdast-util-directive 2.1.1

Link to runnable example

No response

Steps to reproduce

When using Yarn with strict PnP mode, complex-types.d.ts cannot import unist because @types/unist is not explicitly listed in the package.json dependencies field. This causes the interfaces TextDirective, LeafDirective and ContainerDirective to be incomplete because they cannot resolve the parent interface Parent from unist.

Expected behavior

@types/unist is explicitly listed in the package.json dependencies field.

Actual behavior

@types/unist is not explicitly listed in the package.json dependencies field.

Runtime

Node v16

Package manager

Other (please specify in steps to reproduce)

OS

Linux

Build and bundle tools

Webpack

@github-actions github-actions bot added 👋 phase/new Post is being triaged automatically 🤞 phase/open Post is being triaged manually and removed 👋 phase/new Post is being triaged automatically labels Nov 19, 2021
@wooorm
Copy link
Member

wooorm commented Nov 19, 2021

👍 PR welcome!

@github-actions

This comment has been minimized.

@wooorm wooorm added the 💪 phase/solved Post is done label Nov 19, 2021
@github-actions github-actions bot removed the 🤞 phase/open Post is being triaged manually label Nov 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💪 phase/solved Post is done
Development

Successfully merging a pull request may close this issue.

2 participants