mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Revert "Revert "Merge from vscode ada4bddb8edc69eea6ebaaa0e88c5f903cbd43d8 (#5529)" (#5553)" (#5562)
This reverts commit c9a4f8f664.
This commit is contained in:
@@ -229,12 +229,12 @@ export interface IEditorQuickOpenEntry {
|
||||
/**
|
||||
* The editor input used for this entry when opening.
|
||||
*/
|
||||
getInput(): IResourceInput | IEditorInput | null;
|
||||
getInput(): IResourceInput | IEditorInput | undefined;
|
||||
|
||||
/**
|
||||
* The editor options used for this entry when opening.
|
||||
*/
|
||||
getOptions(): IEditorOptions | null;
|
||||
getOptions(): IEditorOptions | undefined;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -250,12 +250,12 @@ export class EditorQuickOpenEntry extends QuickOpenEntry implements IEditorQuick
|
||||
return this._editorService;
|
||||
}
|
||||
|
||||
getInput(): IResourceInput | IEditorInput | null {
|
||||
return null;
|
||||
getInput(): IResourceInput | IEditorInput | undefined {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
getOptions(): IEditorOptions | null {
|
||||
return null;
|
||||
getOptions(): IEditorOptions | undefined {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
run(mode: Mode, context: IEntryRunContext): boolean {
|
||||
@@ -301,12 +301,12 @@ export class EditorQuickOpenEntry extends QuickOpenEntry implements IEditorQuick
|
||||
*/
|
||||
export class EditorQuickOpenEntryGroup extends QuickOpenEntryGroup implements IEditorQuickOpenEntry {
|
||||
|
||||
getInput(): IEditorInput | IResourceInput | null {
|
||||
return null;
|
||||
getInput(): IEditorInput | IResourceInput | undefined {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
getOptions(): IEditorOptions | null {
|
||||
return null;
|
||||
getOptions(): IEditorOptions | undefined {
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user