mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
Fix #145895
This commit is contained in:
@@ -616,7 +616,8 @@ export const enum TabInputKind {
|
||||
NotebookInput,
|
||||
NotebookDiffInput,
|
||||
CustomEditorInput,
|
||||
WebviewEditorInput
|
||||
WebviewEditorInput,
|
||||
TerminalEditorInput
|
||||
}
|
||||
|
||||
export interface UnknownInputDto {
|
||||
@@ -658,7 +659,11 @@ export interface WebviewInputDto {
|
||||
viewType: string;
|
||||
}
|
||||
|
||||
export type AnyInputDto = UnknownInputDto | TextInputDto | TextDiffInputDto | NotebookInputDto | NotebookDiffInputDto | CustomInputDto | WebviewInputDto;
|
||||
export interface TabInputDto {
|
||||
kind: TabInputKind.TerminalEditorInput;
|
||||
}
|
||||
|
||||
export type AnyInputDto = UnknownInputDto | TextInputDto | TextDiffInputDto | NotebookInputDto | NotebookDiffInputDto | CustomInputDto | WebviewInputDto | TabInputDto;
|
||||
|
||||
export interface MainThreadEditorTabsShape extends IDisposable {
|
||||
// manage tabs: move, close, rearrange etc
|
||||
|
||||
Reference in New Issue
Block a user