Don't require return value backup

Fixes #91703

All custom editors should implement backup or throw an exception if they cannot for some reason.
This commit is contained in:
Matt Bierner
2020-02-27 11:55:33 -08:00
parent 06529506b2
commit 8ef18acdaf
5 changed files with 12 additions and 8 deletions

View File

@@ -620,7 +620,7 @@ export interface ExtHostWebviewsShape {
$onSave(resource: UriComponents, viewType: string): Promise<void>;
$onSaveAs(resource: UriComponents, viewType: string, targetResource: UriComponents): Promise<void>;
$backup(resource: UriComponents, viewType: string, cancellation: CancellationToken): Promise<boolean>;
$backup(resource: UriComponents, viewType: string, cancellation: CancellationToken): Promise<void>;
}
export interface MainThreadUrlsShape extends IDisposable {