Guard proposed API createTerminalRenderer

Fixes #56310
This commit is contained in:
Daniel Imms 2018-08-22 12:58:38 -07:00
parent 17a0bbba4e
commit 4a067ffd6b

View file

@ -440,9 +440,9 @@ export function createApiFactory(
}
return extHostTerminalService.createTerminal(<string>nameOrOptions, shellPath, shellArgs);
},
createTerminalRenderer(name: string): vscode.TerminalRenderer {
createTerminalRenderer: proposedApiFunction(extension, (name: string) => {
return extHostTerminalService.createTerminalRenderer(name);
},
}),
registerTreeDataProvider(viewId: string, treeDataProvider: vscode.TreeDataProvider<any>): vscode.Disposable {
return extHostTreeViews.registerTreeDataProvider(viewId, treeDataProvider);
},