Skip to content

Commit 714b1ac

Browse files
committed
build: bump typescript 5.9.3 -> ^6.0.3
TypeScript 6.0 changed the default `types` compiler option from implicitly including every package under node_modules/@types to an empty array, so the root tsconfig now explicitly opts into "node" to keep ambient Node globals (Buffer, process) resolving for playwright.config.ts and other node-context files reachable from the default program. @angular/build 21.2.x peer-depends on typescript <6.0, but @angular/compiler-cli allows >=5.9 <6.1 and lint/typecheck/build all pass clean under 6.0.3.
1 parent 9ae6177 commit 714b1ac

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

package-lock.json

Lines changed: 4 additions & 4 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
@@ -65,7 +65,7 @@
6565
"jsdom": "^29.1.1",
6666
"jsonc-eslint-parser": "^3.1.0",
6767
"prettier": "^3.8.3",
68-
"typescript": "5.9.3",
68+
"typescript": "^6.0.3",
6969
"typescript-eslint": "^8.60.0",
7070
"vitest": "^4.1.7"
7171
},

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"compileOnSave": false,
44
"compilerOptions": {
55
"outDir": "./dist/out-tsc",
6+
"types": ["node"],
67
"resolveJsonModule": true,
78
"esModuleInterop": true,
89
"forceConsistentCasingInFileNames": true,

0 commit comments

Comments
 (0)