Support forward command [6/n]

Summary: Support the adb forward command

Reviewed By: jameslawson

Differential Revision: D31055957

fbshipit-source-id: bc0593320d0e187ddfc8120c1684746f9e9c4cf5
This commit is contained in:
Michel Weststrate
2021-09-22 09:01:29 -07:00
committed by Facebook GitHub Bot
parent 8cf182cc26
commit 11a27f9e1a
6 changed files with 25 additions and 0 deletions

View File

@@ -69,6 +69,7 @@ declare module 'adbkit' {
getProperties: (serial: string) => Promise<{[key: string]: string}>;
trackDevices: () => Promise<DeviceTracker>;
kill: () => Promise<boolean>;
forward: (serial: string, local: string, remote: string) => Promise<void>;
}
export function createClient(config: {port: number; host: string}): Client;
}