Skip to content

Latest RC version tsc faild to load tsconfig.json>compilerOptions>types #54390

@adoin

Description

@adoin

When I run tsc on
"typescript": "^5.0.4",
It crash by "RangeError: Maximum call stack size exceeded".
Then I try
"typescript": "^5.1.1-rc",
It tell me tsconfig.json:20:16 20 "types": [ "vite/client","jest", "node"], ~~~~~~~~~~~~~ File is entry point of type library specified here.
So I remove "vite/client",
It works, but all type like styleValue can't be found.

What should I do? lower one crashed, higher one can read "types" config.
Any Idea or It's a issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Working as IntendedThe behavior described is the intended behavior; this is not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions