-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Upgrade to TypeScript 5.7 (#11865)
- Loading branch information
Showing
4 changed files
with
333 additions
and
303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,7 +79,7 @@ | |
"semver": "^7.5.4", | ||
"tslib": "^2.6.2", | ||
"tsconfig-paths": "^4.2.0", | ||
"typescript": "^5.6.2", | ||
"typescript": "^5.7.2", | ||
"vue-tsc": "^2.1.6", | ||
"ws": ">=8.17.1" | ||
}, | ||
|
@@ -89,7 +89,8 @@ | |
"[email protected]": "patches/[email protected]", | ||
"@types/[email protected]": "patches/@[email protected]", | ||
"@types/[email protected]": "patches/@[email protected]", | ||
"@types/[email protected]": "patches/@[email protected]" | ||
"@types/[email protected]": "patches/@[email protected]", | ||
"[email protected]": "patches/[email protected]" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/index.js b/index.js | ||
index a680d25dfa98a45a3efec0bfb493500e6e9faa91..ca90b6226c88b5bc27aa5323c4e0e5f30f5b9ef2 100644 | ||
--- a/index.js | ||
+++ b/index.js | ||
@@ -4,7 +4,7 @@ exports.run = run; | ||
const runTsc_1 = require("@volar/typescript/lib/quickstart/runTsc"); | ||
const vue = require("@vue/language-core"); | ||
const windowsPathReg = /\\/g; | ||
-function run(tscPath = require.resolve('typescript/lib/tsc')) { | ||
+function run(tscPath = require.resolve('typescript/lib/_tsc')) { | ||
let runExtensions = ['.vue']; | ||
const extensionsChangedException = new Error('extensions changed'); | ||
const main = () => (0, runTsc_1.runTsc)(tscPath, runExtensions, (ts, options) => { |
Oops, something went wrong.