Skip to content

Commit 7bcfdaa

Browse files
build(language-server): update to TypeScript 4.4 (#1512)
Co-authored-by: Renovate Bot <[email protected]>
1 parent 2b8bf23 commit 7bcfdaa

File tree

4 files changed

+18
-9
lines changed

4 files changed

+18
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
},
185185
"dependencies": {
186186
"@angular/language-service": "13.0.0-next.3",
187-
"typescript": "4.3.4",
187+
"typescript": "4.4.3",
188188
"vscode-jsonrpc": "6.0.0",
189189
"vscode-languageclient": "7.0.0",
190190
"vscode-languageserver": "7.0.0",

server/src/session.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ export class Session {
118118
pluginProbeLocations: [options.resolvedNgLsPath],
119119
// do not resolve plugins from the directory where tsconfig.json is located
120120
allowLocalPluginLoads: false,
121+
session: undefined,
121122
});
122123

123124
projSvc.setHostConfiguration({

server/tsconfig.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,22 @@
44
"composite": true,
55
"outDir": "../dist/server",
66
"rootDir": "src",
7-
"rootDirs": [".", "../dist"]
7+
"rootDirs": [
8+
".",
9+
"../dist"
10+
],
11+
"useUnknownInCatchVariables": false
812
},
913
"references": [
10-
{"path": "../common"}
14+
{
15+
"path": "../common"
16+
}
17+
],
18+
"include": [
19+
"src/*.ts"
1120
],
12-
"include": ["src/*.ts"],
1321
"exclude": [
1422
"src/banner.ts",
1523
"node_modules"
1624
]
17-
}
25+
}

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2729,10 +2729,10 @@ typed-rest-client@^1.8.4:
27292729
tunnel "0.0.6"
27302730
underscore "^1.12.1"
27312731

2732-
typescript@4.3.4:
2733-
version "4.3.4"
2734-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.4.tgz#3f85b986945bcf31071decdd96cf8bfa65f9dcbc"
2735-
integrity sha512-uauPG7XZn9F/mo+7MrsRjyvbxFpzemRjKEZXS4AK83oP2KKOJPvb+9cO/gmnv8arWZvhnjVOXz7B49m1l0e9Ew==
2732+
typescript@4.4.3:
2733+
version "4.4.3"
2734+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.3.tgz#bdc5407caa2b109efd4f82fe130656f977a29324"
2735+
integrity sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA==
27362736

27372737
typescript@~4.3.4, typescript@~4.3.5:
27382738
version "4.3.5"

0 commit comments

Comments
 (0)