adbkit typing
Summary: Adding proper types for adbkit (extracted from their documentation) Reviewed By: passy Differential Revision: D17342184 fbshipit-source-id: da0fc0264961ca3a0fa775ab5165d20872042eb8
This commit is contained in:
committed by
Facebook Github Bot
parent
01be3dc5d1
commit
4e7cf077b8
@@ -14,7 +14,7 @@ import adbkit, {Client} from 'adbkit-fb';
|
||||
const MAX_RETRIES = 5;
|
||||
let instance: Promise<Client>;
|
||||
|
||||
export function getAdbClient(): Promise<any> {
|
||||
export function getAdbClient(): Promise<Client> {
|
||||
if (!instance) {
|
||||
instance = reportPlatformFailures(createClient(), 'createADBClient');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user