Skip to content

[TypeScript]: compatibility issue with TS 5.5 #6250

Closed
@Ayc0

Description

@Ayc0

Self-service

  • I'd be willing to implement a fix

Describe the bug

package resolution in tsconfig crashes with yarn & TS 5.5

To reproduce

package.json:

{
  "name": "foo",
  "devDependencies": {
    "typescript": "5.5.0-beta"
   }
}

tsconfig.base.json:

{}

tsconfig.json:

{
  "extends": "foo/tsconfig.base.json" // uses "foo" in the resolution from Yarn
}

Environment

System:
    OS: macOS 14.4.1
    CPU: (10) arm64 Apple M1 Max
  Binaries:
    Node: 20.10.0 - /private/var/folders/4x/njndj3qs3xl4q1my615mt_jh0000gq/T/xfs-19f88e42/node
    Yarn: 4.1.1 - /private/var/folders/4x/njndj3qs3xl4q1my615mt_jh0000gq/T/xfs-19f88e42/yarn
    npm: 10.2.3 - ~/.volta/tools/image/node/20.10.0/bin/npm

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions