diff --git a/extensions/positron-python/positron-dts/positron.d.ts b/extensions/positron-python/positron-dts/positron.d.ts index 3606e91fa0f..ee0fb7b145b 100644 --- a/extensions/positron-python/positron-dts/positron.d.ts +++ b/extensions/positron-python/positron-dts/positron.d.ts @@ -1088,16 +1088,6 @@ declare module 'positron' { */ export function getConsoleWidth(): Thenable; - /** - * Create and show a new preview panel for a URL. This is a convenience - * method that creates a new webview panel and sets its content to the - * given URL. - * - * @param url The URL to preview - * - * @return New preview panel. - */ - export function previewUrl(url: vscode.Uri): PreviewPanel; } namespace runtime { diff --git a/extensions/positron-python/src/client/positron/extension.ts b/extensions/positron-python/src/client/positron/extension.ts index 2e4ccda7080..fb1cfb6247a 100644 --- a/extensions/positron-python/src/client/positron/extension.ts +++ b/extensions/positron-python/src/client/positron/extension.ts @@ -4,7 +4,6 @@ // eslint-disable-next-line import/no-unresolved import * as positron from 'positron'; -import * as vscode from 'vscode'; import { PythonExtension } from '../api/types'; import { IDisposableRegistry } from '../common/types'; import { IInterpreterService } from '../interpreter/contracts';