Skip to content

Commit 05cf32f

Browse files
authored
Add support for typescript>4.4.0 (#18)
* Upgrade `ts-loader` to a version compatible with `typescript@4` * Update tsconfig (base) for `typescript>4.4.0-dev` `strictOptionalProperties` was renamed to `exactOptionalPropertyTypes` in 4.4.0. See: microsoft/TypeScript#44626. * Limit `typescript` to 4.6.x to support all bundled extensions For example, `typescript-language-features` is not compatible with 4.7.x.
1 parent 9792c71 commit 05cf32f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

extensions/tsconfig.base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
],
77
"module": "commonjs",
88
"strict": true,
9-
"strictOptionalProperties": false,
9+
"exactOptionalPropertyTypes": false,
1010
"useUnknownInCatchVariables": false,
1111
"alwaysStrict": true,
1212
"noImplicitAny": true,

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@
196196
"source-map": "0.6.1",
197197
"source-map-support": "^0.3.2",
198198
"style-loader": "^1.0.0",
199-
"ts-loader": "^6.2.1",
199+
"ts-loader": "^8.0.0",
200200
"tsec": "0.1.4",
201-
"typescript": "^4.4.0-dev.20210607",
201+
"typescript": "~4.6.0",
202202
"typescript-formatter": "7.1.0",
203203
"underscore": "^1.12.1",
204204
"vinyl": "^2.0.0",

0 commit comments

Comments
 (0)