Fix compile error

This commit is contained in:
Matt Bierner
2018-04-05 10:23:23 -07:00
parent 9755b46bf6
commit d0f7d2e8da

View File

@@ -237,7 +237,7 @@ export class ExtHostWebviews implements ExtHostWebviewsShape {
state: any,
position: Position,
options: vscode.WebviewOptions
): TPromise<boolean> {
): Thenable<boolean> {
const serializer = this._serializers.get(viewType);
if (!serializer) {
return TPromise.as(false);