remove proposed type 'DebugAdapterInlineImplementation' from vscode.d.ts for now

This commit is contained in:
Andre Weinand 2019-11-29 18:40:56 +01:00
parent 94c6893cad
commit 154275c2e1
2 changed files with 2 additions and 2 deletions

View file

@ -3817,7 +3817,7 @@ export class MockDebugAdapterDescriptorFactory implements vscode.DebugAdapterDes
}
createDebugAdapterDescriptor(_session: vscode.DebugSession, _executable: vscode.DebugAdapterExecutable | undefined): vscode.ProviderResult<vscode.DebugAdapterDescriptor> {
return new vscode.DebugAdapterInlineImplementation(new MockDebugSession(this.memfs));
return <any>new vscode.DebugAdapterInlineImplementation(new MockDebugSession(this.memfs));
}
}

2
src/vs/vscode.d.ts vendored
View file

@ -9341,7 +9341,7 @@ declare module 'vscode' {
constructor(port: number, host?: string);
}
export type DebugAdapterDescriptor = DebugAdapterExecutable | DebugAdapterServer | DebugAdapterInlineImplementation;
export type DebugAdapterDescriptor = DebugAdapterExecutable | DebugAdapterServer;
export interface DebugAdapterDescriptorFactory {
/**