From d644aafab0a4f250d7251ed36bb618e657a5fb40 Mon Sep 17 00:00:00 2001 From: Mathieu Dutour Date: Sun, 17 Sep 2017 17:29:01 +0200 Subject: [PATCH] add specific RN console properties add the following properties to the console global object * console.disableYellowBox * console.ignoredYellowBox See http://facebook.github.io/react-native/releases/0.48/docs/debugging.html#warnings --- 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 3f2ba75585..fe1db68cf0 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -9248,6 +9248,8 @@ declare global { trace(message?: any, ...optionalParams: any[]): void debug(message?: any, ...optionalParams: any[]): void table(...data: any[]): void; + disableYellowBox: boolean; + ignoredYellowBox: string[]; } var console: Console