Skip to content

Commit 32301af

Browse files
committed
TypeScript: Upgrade to TypeScript 6.0
1 parent a21d406 commit 32301af

File tree

7 files changed

+456
-468
lines changed

7 files changed

+456
-468
lines changed

javascript/packages/herb-language-server/tsconfig.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,7 @@
1515
"declarationDir": "./dist/types",
1616
"erasableSyntaxOnly": true,
1717
"forceConsistentCasingInFileNames": true,
18-
"skipLibCheck": true,
19-
"typeRoots": [
20-
"./types",
21-
"./node_modules/@types"
22-
]
18+
"skipLibCheck": true
2319
},
2420
"include": ["src"],
2521
"exclude": ["node_modules"]

javascript/packages/language-server/tsconfig.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,7 @@
1515
"declarationDir": "./dist/types",
1616
"erasableSyntaxOnly": true,
1717
"forceConsistentCasingInFileNames": true,
18-
"skipLibCheck": true,
19-
"typeRoots": [
20-
"./types",
21-
"./node_modules/@types"
22-
]
18+
"skipLibCheck": true
2319
},
2420
"include": ["src"],
2521
"exclude": ["node_modules"]

javascript/packages/node-wasm/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"target": "ES2022",
66
"module": "ESNext",
77
"moduleResolution": "bundler",
8-
"lib": ["ES2022", "DOM"],
8+
"lib": ["ES2022"],
99
"outDir": "./dist",
1010
"declaration": true,
1111
"declarationDir": "./dist/types",

javascript/packages/tailwind-class-sorter/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
"types": ["node"],
44
"rootDir": "./src",
5-
"lib": ["ESNext", "DOM"],
5+
"lib": ["ESNext"],
66
"target": "ESNext",
77
"module": "ESNext",
88
"moduleDetection": "force",

javascript/packages/vscode/tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"compilerOptions": {
33
"types": ["node", "mocha"],
44
"rootDir": "./src",
5-
"module": "Node16",
6-
"moduleResolution": "Node16",
5+
"module": "NodeNext",
6+
"moduleResolution": "NodeNext",
77
"target": "ES2022",
8-
"lib": ["ES2022", "dom"],
8+
"lib": ["ES2022"],
99
"moduleDetection": "force",
1010
"sourceMap": true,
1111
"strict": true,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"rollup": "^4.59.0",
3030
"rollup-plugin-postcss": "^4.0.2",
3131
"tsx": "^4.20.4",
32-
"typescript": "^6.0.1-rc",
32+
"typescript": "^6.0.2",
3333
"vitest": "^4.0.0",
3434
"yaml": "^2.8.2",
3535
"yeoman-environment": "^4.4.1",

yarn.lock

Lines changed: 448 additions & 452 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)