Merge from vscode 4d91d96e5e121b38d33508cdef17868bab255eae

This commit is contained in:
ADS Merger
2020-06-18 04:32:54 +00:00
committed by AzureDataStudio
parent a971aee5bd
commit 5e7071e466
1002 changed files with 24201 additions and 13193 deletions

View File

@@ -11,7 +11,7 @@ export const IDownloadService = createDecorator<IDownloadService>('downloadServi
export interface IDownloadService {
_serviceBrand: undefined;
readonly _serviceBrand: undefined;
download(uri: URI, to: URI, cancellationToken?: CancellationToken): Promise<void>;

View File

@@ -27,7 +27,7 @@ export class DownloadServiceChannel implements IServerChannel {
export class DownloadServiceChannelClient implements IDownloadService {
_serviceBrand: undefined;
declare readonly _serviceBrand: undefined;
constructor(private channel: IChannel, private getUriTransformer: () => IURITransformer | null) { }
@@ -39,4 +39,4 @@ export class DownloadServiceChannelClient implements IDownloadService {
}
await this.channel.call('download', [from, to]);
}
}
}

View File

@@ -12,7 +12,7 @@ import { Schemas } from 'vs/base/common/network';
export class DownloadService implements IDownloadService {
_serviceBrand: undefined;
declare readonly _serviceBrand: undefined;
constructor(
@IRequestService private readonly requestService: IRequestService,