Convert Flipper plugin "DeviceCPU" to TypeScript

Summary: Migrate CPU plugin to use TypeScript

Reviewed By: danielbuechele

Differential Revision: D17072709

fbshipit-source-id: d9acf172af08d764216e7b79b79994199dc83f5c
This commit is contained in:
Ivelin Rachev
2019-09-02 11:40:35 -07:00
committed by Facebook Github Bot
parent e3285c4f15
commit f4fc96756a
4 changed files with 64 additions and 42 deletions

12
types/adbkit-fb.d.tsx Normal file
View File

@@ -0,0 +1,12 @@
/**
* Copyright 2018-present Facebook.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* @format
*/
declare module 'adbkit-fb' {
const util: any;
const adbkit: any;
export function createClient({port: number, host: string}): any;
}