mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Fix projectInfo call signature for TS 3.0
This commit is contained in:
parent
e49f6543a6
commit
21bb402655
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue