From a6652eec0719f01f2f57299a3a855db0e4e0bbc8 Mon Sep 17 00:00:00 2001 From: Alex Ross Date: Wed, 18 Dec 2019 10:18:26 +0100 Subject: [PATCH] Update vscode.proposed.d.ts to reflect new state of forwardPort and makeTunnel --- src/vs/vscode.proposed.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vs/vscode.proposed.d.ts b/src/vs/vscode.proposed.d.ts index 4d0c545db31..ad7d468f6fb 100644 --- a/src/vs/vscode.proposed.d.ts +++ b/src/vs/vscode.proposed.d.ts @@ -79,7 +79,8 @@ declare module 'vscode' { export namespace workspace { /** - * Forwards a port. Currently only works for a remote host of localhost. + * Forwards a port. If the current resolver implements RemoteAuthorityResolver:forwardPort then that will be used to make the tunnel. + * By default, makeTunnel only support localhost; however, RemoteAuthorityResolver:forwardPort can be used to support other ips. * @param forward The `localPort` is a suggestion only. If that port is not available another will be chosen. */ export function makeTunnel(forward: TunnelOptions): Thenable;