Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions src/schemas/json/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,20 @@
"extendsDefinition": {
"properties": {
"extends": {
"description": "Path to base configuration file to inherit from. Requires TypeScript version 2.1 or later.",
"type": "string"
"description": "Path to base configuration file to inherit from (requires TypeScript version 2.1 or later), or array of base files, with the rightmost files having the greater priority (requires TypeScript version 5.0 or later).",
"oneOf": [
{
"default": "",
"type": "string"
},
{
"default": [],
"items": {
"type": "string"
},
"type": "array"
}
]
}
}
},
Expand Down
3 changes: 3 additions & 0 deletions src/test/jsconfig/jsconfig-extends-multiple.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["./jsconfig.json", "./jsconfig-emit-tds.json"]
}
3 changes: 3 additions & 0 deletions src/test/jsconfig/jsconfig-extends-single.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "./tsconfig.json"
}