Skip to content

Commit 6c12ba1

Browse files
authored
Revert to TS 4.9.5 for this iteration (microsoft#173081)
TS 5.0 doesn't come out til mid March
1 parent 863984a commit 6c12ba1

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

Diff for: extensions/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"license": "MIT",
55
"description": "Dependencies shared by all extensions",
66
"dependencies": {
7-
"typescript": "^5.0.0-dev.20230131"
7+
"typescript": "^4.9.5"
88
},
99
"scripts": {
1010
"postinstall": "node ./postinstall.mjs"

Diff for: extensions/typescript-language-features/extension-browser.webpack.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ module.exports = [withBrowserDefaults({
6666
module: {
6767
exprContextCritical: false,
6868
},
69+
ignoreWarnings: [/Critical dependency: the request of a dependency is an expression/],
6970
output: {
7071
// all output goes into `dist`.
7172
// packaging depends on that and this must always be like it

Diff for: extensions/yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,10 @@ to-regex-range@^5.0.1:
228228
dependencies:
229229
is-number "^7.0.0"
230230

231-
typescript@^5.0.0-dev.20230131:
232-
version "5.0.0-dev.20230131"
233-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.0.0-dev.20230131.tgz#920b8e5b9a25100fee18a45b0f77a3d12d9b8d0e"
234-
integrity sha512-A1VAxSLhrW5D7zq7nLkE36JAfDL72gJrN8p5Y6zvvndkOGtfgJp3//M0iqCRfLe0l8noJb8cRI+kdpgSuC1giw==
231+
typescript@^4.9.5:
232+
version "4.9.5"
233+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
234+
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
235235

236236
vscode-grammar-updater@^1.1.0:
237237
version "1.1.0"

0 commit comments

Comments
 (0)