src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.ts/SearchEditorInput/toUntyped
class SearchEditorInput:	override toUntyped(): IResourceEditorInput | undefined {
		if (this.hasCapability(EditorInputCapabilities.Untitled)) {
			return undefined;
		}

		return {
			resource: this.resource,
			options: {
				override: SearchEditorInput.ID
			}
		};
	}