-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Closed
Copy link
Labels
BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issue
Milestone
Description
Bug Report
🔎 Search Terms
TS 5, tsconfig, extends, node modules
🕗 Version & Regression Information
5.0.2
In latest stable build, 4.9.5, tsconfig extends resolve correctly references to libraries on node modules. However, after trying out 5.0.2 it has stop working
- This changed between versions 4.9.5 and 5.0.2
⏯ Playground Link
No Playground, I quickly check and there is no support for tsconfig, package.json,...
💻 Code
No code, it's just configuration. Having a package.json declaring
"devDependencies": {
"@mylibrary/commons": "1.0.0",
"typescript": "5.0.2"
}
and a tsconfig with:
"extends": "@mylibrary/commons/configs/tsconfig.backend.json",
🙁 Actual behavior
The command tsc --build
finish with error:
tsconfig.json:2:14 - error TS6053: File '@mylibrary/commons/configs/tsconfig.backend.json' not found.
2 "extends": "@mylibrary/commons/configs/tsconfig.backend.json",
🙂 Expected behavior
The command tsc --build
finish correctly.
loucyx and kirillgroshkov
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issue