mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-22 17:22:59 -05:00
fix recent closed (#20188)
This commit is contained in:
@@ -17,6 +17,7 @@ import { URI } from 'vs/base/common/uri';
|
||||
import { FILE_QUERY_EDITOR_TYPEID } from 'sql/workbench/common/constants';
|
||||
import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation';
|
||||
import { EditorInput } from 'vs/workbench/common/editor/editorInput';
|
||||
import { IResourceEditorInput } from 'vs/platform/editor/common/editor';
|
||||
|
||||
export class FileQueryEditorInput extends QueryEditorInput {
|
||||
|
||||
@@ -120,4 +121,10 @@ export class FileQueryEditorInput extends QueryEditorInput {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override toUntyped(): IResourceEditorInput {
|
||||
return <IResourceEditorInput>{
|
||||
resource: this.resource,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user