Merge VS Code 1.31.1 (#4283)

This commit is contained in:
Matt Irvine
2019-03-15 13:09:45 -07:00
committed by GitHub
parent 7d31575149
commit 86bac90001
1716 changed files with 53308 additions and 48375 deletions

View File

@@ -4,7 +4,6 @@
*--------------------------------------------------------------------------------------------*/
'use strict';
import { TPromise } from 'vs/base/common/winjs.base';
import { IDisposable, dispose } from 'vs/base/common/lifecycle';
import {
SqlExtHostContext, ExtHostCredentialManagementShape,
@@ -37,7 +36,7 @@ export class MainThreadCredentialManagement implements MainThreadCredentialManag
this._toDispose = dispose(this._toDispose);
}
public $registerCredentialProvider(handle: number): TPromise<any> {
public $registerCredentialProvider(handle: number): Promise<any> {
let self = this;
this._registrations[handle] = this.credentialService.addEventListener(handle, {
@@ -55,7 +54,7 @@ export class MainThreadCredentialManagement implements MainThreadCredentialManag
return undefined;
}
public $unregisterCredentialProvider(handle: number): TPromise<any> {
public $unregisterCredentialProvider(handle: number): Promise<any> {
let registration = this._registrations[handle];
if (registration) {
registration.dispose();