Skip to content

Add missing dependency for types #9

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Mar 14, 2022

Conversation

Methuselah96
Copy link
Contributor

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)
  • If applicable, I’ve added docs and tests

Description of changes

Fix these build errors:

ERROR in ../../.yarn/cache/unist-util-position-npm-4.0.1-b1dc7e42c7-0fad25db39.zip/node_modules/unist-util-position/index.d.ts 22:31-38
TS2307: Cannot find module 'unist' or its corresponding type declarations.
    20 |  */
    21 | export function pointEnd(node?: NodeLike): Point
  > 22 | export type Position = import('unist').Position
       |                               ^^^^^^^
    23 | export type Point = import('unist').Point
    24 | export type PointLike = Partial<Point>
    25 | export type PositionLike = {

ERROR in ../../.yarn/cache/unist-util-position-npm-4.0.1-b1dc7e42c7-0fad25db39.zip/node_modules/unist-util-position/index.d.ts 23:28-35
TS2307: Cannot find module 'unist' or its corresponding type declarations.
    21 | export function pointEnd(node?: NodeLike): Point
    22 | export type Position = import('unist').Position
  > 23 | export type Point = import('unist').Point
       |                            ^^^^^^^
    24 | export type PointLike = Partial<Point>
    25 | export type PositionLike = {
    26 |   start?: PointLike

@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 Mar 14, 2022
@wooorm wooorm changed the title Add packages that types depend on to dependencies Add missing dependency for types Mar 14, 2022
@wooorm wooorm merged commit b061ccf into syntax-tree:main Mar 14, 2022
@wooorm wooorm added 📦 area/deps This affects dependencies ☂️ area/types This affects typings 💪 phase/solved Post is done labels Mar 14, 2022
@github-actions

This comment has been minimized.

@github-actions github-actions bot removed the 🤞 phase/open Post is being triaged manually label Mar 14, 2022
@Methuselah96 Methuselah96 deleted the add-type-dependencies branch March 14, 2022 13:24
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
📦 area/deps This affects dependencies ☂️ area/types This affects typings 💪 phase/solved Post is done
Development

Successfully merging this pull request may close these issues.

2 participants