mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-23 19:59:37 +00:00
Fix projectInfo call signature for TS 3.0
This commit is contained in:
@@ -9,6 +9,7 @@ import TypeScriptServiceClientHost from './typeScriptServiceClientHost';
|
||||
import { Command } from './utils/commandManager';
|
||||
import { Lazy } from './utils/lazy';
|
||||
import { isImplicitProjectConfigFile, openOrCreateConfigFile } from './utils/tsconfig';
|
||||
import { nulToken } from './utils/cancellation';
|
||||
|
||||
|
||||
const localize = nls.loadMessageBundle();
|
||||
@@ -131,7 +132,7 @@ async function goToProjectConfig(
|
||||
|
||||
let res: protocol.ProjectInfoResponse | undefined = undefined;
|
||||
try {
|
||||
res = await client.execute('projectInfo', { file, needFileNameList: false } as protocol.ProjectInfoRequestArgs);
|
||||
res = await client.execute('projectInfo', { file, needFileNameList: false }, nulToken);
|
||||
} catch {
|
||||
// noop
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user