mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
allow $openUri to accept URI and string
This commit is contained in:
@@ -759,7 +759,7 @@ export interface IOpenUriOptions {
|
||||
|
||||
export interface MainThreadWindowShape extends IDisposable {
|
||||
$getWindowVisibility(): Promise<boolean>;
|
||||
$openUri(uri: UriComponents, options: IOpenUriOptions): Promise<boolean>;
|
||||
$openUri(uri: UriComponents, uriString: string | undefined, options: IOpenUriOptions): Promise<boolean>;
|
||||
$asExternalUri(uri: UriComponents, options: IOpenUriOptions): Promise<UriComponents>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user