Strict null check more mainThread and extHost files

This commit is contained in:
Matt Bierner
2019-02-06 18:22:33 -08:00
parent 96e13e6cbf
commit ea577a79e4
9 changed files with 31 additions and 20 deletions

View File

@@ -453,7 +453,7 @@ export interface MainThreadStatusBarShape extends IDisposable {
}
export interface MainThreadStorageShape extends IDisposable {
$getValue<T>(shared: boolean, key: string): Promise<T>;
$getValue<T>(shared: boolean, key: string): Promise<T | undefined>;
$setValue(shared: boolean, key: string, value: object): Promise<void>;
}
@@ -1074,7 +1074,7 @@ export interface ExtHostCommentsShape {
}
export interface ExtHostStorageShape {
$acceptValue(shared: boolean, key: string, value: object): void;
$acceptValue(shared: boolean, key: string, value: object | undefined): void;
}
// --- proxy identifiers