diff --git a/src/vs/workbench/api/node/extHostWebview.ts b/src/vs/workbench/api/node/extHostWebview.ts index 2312e863a41..3a316bb6baf 100644 --- a/src/vs/workbench/api/node/extHostWebview.ts +++ b/src/vs/workbench/api/node/extHostWebview.ts @@ -237,7 +237,7 @@ export class ExtHostWebviews implements ExtHostWebviewsShape { state: any, position: Position, options: vscode.WebviewOptions - ): TPromise { + ): Thenable { const serializer = this._serializers.get(viewType); if (!serializer) { return TPromise.as(false);