diff options
author | Benjamin Pasero <benjamin.pasero@microsoft.com> | 2021-09-15 17:40:09 +0300 |
---|---|---|
committer | Benjamin Pasero <benjamin.pasero@microsoft.com> | 2021-09-15 17:40:09 +0300 |
commit | a91a307436c31831705a19a7c862a367145b1e11 (patch) | |
tree | 5834fc88349b057b17b67dc7717d8ebee63dbf8d /src/vs/workbench/contrib/extensions/common | |
parent | e87b5d4919903d2a17c394e401a80ec44598d1bd (diff) |
editors - drop the `IEditorInput` interface
There was a dangerous overlap with `IUntypedEditorInput`
Diffstat (limited to 'src/vs/workbench/contrib/extensions/common')
-rw-r--r-- | src/vs/workbench/contrib/extensions/common/extensionsInput.ts | 4 | ||||
-rw-r--r-- | src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.ts | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/vs/workbench/contrib/extensions/common/extensionsInput.ts b/src/vs/workbench/contrib/extensions/common/extensionsInput.ts index 0559dc75e16..f8c46c90d18 100644 --- a/src/vs/workbench/contrib/extensions/common/extensionsInput.ts +++ b/src/vs/workbench/contrib/extensions/common/extensionsInput.ts @@ -6,7 +6,7 @@ import { Schemas } from 'vs/base/common/network'; import { URI } from 'vs/base/common/uri'; import { localize } from 'vs/nls'; -import { EditorInputCapabilities, IEditorInput, IUntypedEditorInput } from 'vs/workbench/common/editor'; +import { EditorInputCapabilities, IUntypedEditorInput } from 'vs/workbench/common/editor'; import { EditorInput } from 'vs/workbench/common/editor/editorInput'; import { IExtension, IExtensionsWorkbenchService } from 'vs/workbench/contrib/extensions/common/extensions'; import { areSameExtensions } from 'vs/platform/extensionManagement/common/extensionManagementUtil'; @@ -49,7 +49,7 @@ export class ExtensionsInput extends EditorInput { return localize('extensionsInputName', "Extension: {0}", this._extension.displayName); } - override matches(other: IEditorInput | IUntypedEditorInput): boolean { + override matches(other: EditorInput | IUntypedEditorInput): boolean { if (super.matches(other)) { return true; } diff --git a/src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.ts b/src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.ts index ce7db69e8fb..e7df1f9f846 100644 --- a/src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.ts +++ b/src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.ts @@ -5,7 +5,7 @@ import * as nls from 'vs/nls'; import { URI } from 'vs/base/common/uri'; -import { EditorInputCapabilities, IEditorInput, IUntypedEditorInput } from 'vs/workbench/common/editor'; +import { EditorInputCapabilities, IUntypedEditorInput } from 'vs/workbench/common/editor'; import { EditorInput } from 'vs/workbench/common/editor/editorInput'; export class RuntimeExtensionsInput extends EditorInput { @@ -38,7 +38,7 @@ export class RuntimeExtensionsInput extends EditorInput { return nls.localize('extensionsInputName', "Running Extensions"); } - override matches(other: IEditorInput | IUntypedEditorInput): boolean { + override matches(other: EditorInput | IUntypedEditorInput): boolean { if (super.matches(other)) { return true; } |