From 5c6737cfc5d3e1203ca2722a1e212a66cdeab844 Mon Sep 17 00:00:00 2001 From: Tim Wang Date: Tue, 27 Feb 2018 15:51:36 +0800 Subject: [PATCH] [react-native] Add YellowBox API --- types/react-native/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 395ce9af45..717135e7d4 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -8609,6 +8609,8 @@ export function findNodeHandle( export function processColor(color: any): number; +export const YellowBox: React.Component & { ignoreWarnings: (warnings: string[]) => void }; + ////////////////////////////////////////////////////////////////////////// // // Additional ( and controversial)