mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-03 06:51:53 +01:00
Re-enable building VS Code with TS 3.7 (#82289)
* Re-enable building VS Code with TS 3.7
Reverts 5b0cdadc87
Blocked from check in due to https://github.com/microsoft/TypeScript/issues/33936
* update d.ts for ts 3.7
This commit is contained in:
@@ -516,7 +516,7 @@ class DeclarationResolver {
|
||||
'file.ts': fileContents
|
||||
};
|
||||
const service = ts.createLanguageService(new TypeScriptLanguageServiceHost({}, fileMap, {}));
|
||||
const text = service.getEmitOutput('file.ts', true).outputFiles[0].text;
|
||||
const text = service.getEmitOutput('file.ts', true, true).outputFiles[0].text;
|
||||
return new CacheEntry(ts.createSourceFile(fileName, text, ts.ScriptTarget.ES5), mtime);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user