Skip to content

Commit 4ca4e8c

Browse files
[Ignore] Update Notebook dts (#3139)
Co-authored-by: TylerLeonhardt <TylerLeonhardt@users.noreply.github.com>
1 parent 28e6a0f commit 4ca4e8c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

vscode.proposed.d.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -599,16 +599,16 @@ declare module 'vscode' {
599599
* resolve the raw content for `uri` as the resouce is not necessarily a file on disk.
600600
*/
601601
// eslint-disable-next-line vscode-dts-provider-naming
602-
openNotebook(uri: Uri, openContext: NotebookDocumentOpenContext): NotebookData | Promise<NotebookData>;
602+
openNotebook(uri: Uri, openContext: NotebookDocumentOpenContext): NotebookData | Thenable<NotebookData>;
603603
// eslint-disable-next-line vscode-dts-provider-naming
604604
// eslint-disable-next-line vscode-dts-cancellation
605-
resolveNotebook(document: NotebookDocument, webview: NotebookCommunication): Promise<void>;
605+
resolveNotebook(document: NotebookDocument, webview: NotebookCommunication): Thenable<void>;
606606
// eslint-disable-next-line vscode-dts-provider-naming
607-
saveNotebook(document: NotebookDocument, cancellation: CancellationToken): Promise<void>;
607+
saveNotebook(document: NotebookDocument, cancellation: CancellationToken): Thenable<void>;
608608
// eslint-disable-next-line vscode-dts-provider-naming
609-
saveNotebookAs(targetResource: Uri, document: NotebookDocument, cancellation: CancellationToken): Promise<void>;
609+
saveNotebookAs(targetResource: Uri, document: NotebookDocument, cancellation: CancellationToken): Thenable<void>;
610610
// eslint-disable-next-line vscode-dts-provider-naming
611-
backupNotebook(document: NotebookDocument, context: NotebookDocumentBackupContext, cancellation: CancellationToken): Promise<NotebookDocumentBackup>;
611+
backupNotebook(document: NotebookDocument, context: NotebookDocumentBackupContext, cancellation: CancellationToken): Thenable<NotebookDocumentBackup>;
612612
}
613613

614614
export interface NotebookKernel {
@@ -707,7 +707,7 @@ declare module 'vscode' {
707707
): Disposable;
708708

709709
export function createNotebookEditorDecorationType(options: NotebookDecorationRenderOptions): NotebookEditorDecorationType;
710-
export function openNotebookDocument(uri: Uri, viewType?: string): Promise<NotebookDocument>;
710+
export function openNotebookDocument(uri: Uri, viewType?: string): Thenable<NotebookDocument>;
711711
export const onDidOpenNotebookDocument: Event<NotebookDocument>;
712712
export const onDidCloseNotebookDocument: Event<NotebookDocument>;
713713
export const onDidSaveNotebookDocument: Event<NotebookDocument>;
@@ -751,7 +751,7 @@ declare module 'vscode' {
751751
export const onDidChangeActiveNotebookEditor: Event<NotebookEditor | undefined>;
752752
export const onDidChangeNotebookEditorSelection: Event<NotebookEditorSelectionChangeEvent>;
753753
export const onDidChangeNotebookEditorVisibleRanges: Event<NotebookEditorVisibleRangesChangeEvent>;
754-
export function showNotebookDocument(document: NotebookDocument, options?: NotebookDocumentShowOptions): Promise<NotebookEditor>;
754+
export function showNotebookDocument(document: NotebookDocument, options?: NotebookDocumentShowOptions): Thenable<NotebookEditor>;
755755
}
756756

757757
//#endregion

0 commit comments

Comments
 (0)