add some jsdoc #66741

This commit is contained in:
Johannes Rieken
2019-01-21 17:20:19 -08:00
parent 73ba671e2b
commit 1d4bed79e1
+9 -1
View File
@@ -19,10 +19,18 @@ declare module 'vscode' {
//#region Joh - vscode.open
export namespace env {
/**
* Opens an *external* item, e.g. a http(s) or mailto-link, using the
* default application.
*
* *Note* that [`showTextDocument`](#window.showTextDocument) is the right
* way to open a text document inside the editor, not this function.
*
* @param target The uri that should be opened.
* @returns A promise indicating if open was successful.
*/
export function open(uri: Uri): Thenable<boolean>;
export function open(target: Uri): Thenable<boolean>;
}
//#endregion