Pick up TS 5.9-beta for built-in support

This commit is contained in:
Matt Bierner
2025-07-16 11:02:20 -07:00
parent a43ce7a6db
commit e624e6aee4
3 changed files with 5 additions and 6 deletions

View File

@@ -10,7 +10,7 @@
"hasInstallScript": true, "hasInstallScript": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"typescript": "^5.8.3" "typescript": "^5.9.0-beta"
}, },
"devDependencies": { "devDependencies": {
"@parcel/watcher": "2.5.1", "@parcel/watcher": "2.5.1",
@@ -940,9 +940,9 @@
} }
}, },
"node_modules/typescript": { "node_modules/typescript": {
"version": "5.8.3", "version": "5.9.0-beta",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.0-beta.tgz",
"integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", "integrity": "sha512-p91qoTdwWKj9YEBYavmGiBn0DF4OBElzw4pW4oPbK4HeCfr/SDz9+yviVWshZXGvGvFCJ3AVQ+J7F1UZXc23QQ==",
"license": "Apache-2.0", "license": "Apache-2.0",
"bin": { "bin": {
"tsc": "bin/tsc", "tsc": "bin/tsc",

View File

@@ -4,7 +4,7 @@
"license": "MIT", "license": "MIT",
"description": "Dependencies shared by all extensions", "description": "Dependencies shared by all extensions",
"dependencies": { "dependencies": {
"typescript": "^5.8.3" "typescript": "^5.9.0-beta"
}, },
"scripts": { "scripts": {
"postinstall": "node ./postinstall.mjs" "postinstall": "node ./postinstall.mjs"

View File

@@ -208,7 +208,6 @@ export default class FileConfigurationManager extends Disposable {
includeCompletionsForModuleExports: config.get<boolean>('suggest.autoImports'), includeCompletionsForModuleExports: config.get<boolean>('suggest.autoImports'),
...getInlayHintsPreferences(config), ...getInlayHintsPreferences(config),
...this.getOrganizeImportsPreferences(preferencesConfig), ...this.getOrganizeImportsPreferences(preferencesConfig),
// @ts-expect-error until TS 5.9
maximumHoverLength: this.getMaximumHoverLength(document), maximumHoverLength: this.getMaximumHoverLength(document),
}; };