Convert Flipper plugin "mobileboost" to TypeScript

Summary: Bugfix for Tab.tsx + implicitly typed react vizualized

Reviewed By: danielbuechele

Differential Revision: D17205342

fbshipit-source-id: 48d29c583f0790af46f3d9c8d0280015b58d56aa
This commit is contained in:
Ivelin Rachev
2019-09-09 03:48:33 -07:00
committed by Facebook Github Bot
parent 975af8fa43
commit 9ebf5346df
2 changed files with 12 additions and 1 deletions

View File

@@ -38,6 +38,6 @@ export type Props = {
width?: WidthProperty<number>; width?: WidthProperty<number>;
}; };
export default function Tab(_props: Props) { export default function Tab(_props: Props): JSX.Element {
throw new Error("don't render me"); throw new Error("don't render me");
} }

View File

@@ -0,0 +1,11 @@
/**
* 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 'react-virtualized' {
const AutoSizer: any;
const Collection: any;
}