eng - some extHost strict-null work

This commit is contained in:
Johannes Rieken
2019-03-06 15:36:56 +01:00
parent 95e877dbcf
commit 763ae0943d
5 changed files with 7 additions and 7 deletions

View File

@@ -224,7 +224,7 @@ export interface ITextDocumentShowOptions {
}
export interface MainThreadTextEditorsShape extends IDisposable {
$tryShowTextDocument(resource: UriComponents, options: ITextDocumentShowOptions): Promise<string>;
$tryShowTextDocument(resource: UriComponents, options: ITextDocumentShowOptions): Promise<string | undefined>;
$registerTextEditorDecorationType(key: string, options: editorCommon.IDecorationRenderOptions): void;
$removeTextEditorDecorationType(key: string): void;
$tryShowEditor(id: string, position: EditorViewColumn): Promise<void>;