mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-05-29 15:44:31 +00:00
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
This commit is contained in:
2
types/react-native/index.d.ts
vendored
2
types/react-native/index.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user