Skip to content

Commit e1095ee

Browse files
committed
chore: upg TS version
1 parent 7ae320b commit e1095ee

File tree

4 files changed

+26
-11
lines changed

4 files changed

+26
-11
lines changed

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
},
1414
"git.branchProtection": [],
15-
"typescript.tsdk": "node_modules\\typescript\\lib",
15+
"typescript.tsdk": "node_modules/typescript/lib",
1616
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
1717
"typescript.tsc.autoDetect": "off"
1818
}

package-lock.json

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"npm-run-all": "^4.1.5",
103103
"prettier": "^2.8.4",
104104
"source-map-support": "^0.5.21",
105-
"typescript": "4.9.x",
105+
"typescript": "5.6.3",
106106
"vscode-test": "^1.6.1"
107107
}
108108
}

tsconfig.json

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,27 @@
11
{
22
"compilerOptions": {
3+
"skipLibCheck": true,
4+
"allowJs": true,
5+
"resolveJsonModule": true,
6+
"isolatedModules": true,
37
"esModuleInterop": true,
8+
// REVIEW: can this be updated to "NodeNext"?
49
"module": "commonjs",
5-
"target": "ES2020",
6-
"lib": ["ES2020"],
10+
"target": "ES2022",
11+
"lib": ["ES2022"],
712
"outDir": "out",
813
"sourceMap": true,
9-
"strict": true
14+
// strictness
15+
"strict": true,
16+
"noUncheckedIndexedAccess": true,
17+
"noImplicitOverride": true
1018
},
1119
"include": ["src", "test"],
12-
"exclude": ["node_modules", ".vscode-test"]
20+
"exclude": [
21+
"node_modules",
22+
".vscode-test",
23+
"test/examples",
24+
"test/results",
25+
"test/suite/scratchpad.js"
26+
]
1327
}

0 commit comments

Comments
 (0)