Pick up TS 4.7 for building VS Code (#145273)

Adds fixes for https://github.com/microsoft/TypeScript/issues/48276
This commit is contained in:
Matt Bierner
2022-03-17 10:10:35 -08:00
committed by GitHub
parent 4999deba86
commit bc9de9e7eb
9 changed files with 83 additions and 40 deletions

View File

@@ -187,7 +187,7 @@ class ExtHostTabGroups {
get apiObject() {
if (!this._apiObject) {
const that = this;
this._apiObject = Object.freeze({
this._apiObject = Object.freeze<vscode.Tab>({
onDidChangeTabGroup: that._onDidChangeTagGroup, // never changes -> simple value
onDidChangeActiveTabGroup: that._onDidChangeActiveTabGroup,
get groups() { // dynamic -> getters