fix: repair corrupted tsconfig.json files from regex script

- Fix malformed skipLibCheck and types array closing braces
- Repair broken include arrays and trailing commas
- Add addon typings to addon src includes (paths not restored)
- Normalize formatting to valid JSON with 2-space indent

Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-05-28 00:52:24 +00:00
co-authored by Daniel Imms
parent 91fcb46a1a
commit a04941a936
49 changed files with 204 additions and 391 deletions
+4 -6
View File
@@ -9,17 +9,15 @@
"types": [
"../../node_modules/@types/mocha"
],
"skipLibCheck": true,
"paths": {
"common/*": [ "./../common/*" ],
"*": [ "./../*" ]
}
"skipLibCheck": true
},
"include": [
"./**/*",
"../../typings/xterm.d.ts"
],
"references": [
{ "path": "../common" }
{
"path": "../common"
}
]
}
+1 -5
View File
@@ -10,11 +10,7 @@
"outDir": "../../out",
"types": [
"../../node_modules/@types/mocha"
],
"paths": {
"common/*": [ "./../common/*" ],
"*": [ "./../*" ]
}
]
},
"include": [
"./**/*",
+5 -7
View File
@@ -10,18 +10,16 @@
"types": [
"../../node_modules/@types/mocha",
"../../node_modules/@types/node"
],
"paths": {
"common/*": [ "./../common/*" ],
"*": [ "./../*" ]
}
]
},
"include": [
"./**/*",
"../../typings/xterm.d.ts", // common/Types.d.ts imports from '@xterm/xterm'
"../../typings/xterm.d.ts",
"../../typings/xterm-headless.d.ts"
],
"references": [
{ "path": "../common" }
{
"path": "../common"
}
]
}