mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix bad type definitions related to utility types (wave 2)
Summary: This diff fixes more bad type definitions that are previously hidden but will be exposed in the upcoming Flow 0.208.0 Changelog: [Internal] Reviewed By: panagosg7 Differential Revision: D46382788 fbshipit-source-id: 50337ce5bc0f07ac5916a2d4b75eabf5e8e2e427
This commit is contained in:
committed by
Facebook GitHub Bot
parent
0191d16712
commit
e25c6632a2
@@ -117,7 +117,8 @@ function reportException(
|
||||
}
|
||||
}
|
||||
|
||||
declare var console: typeof console & {
|
||||
declare var console: {
|
||||
error: typeof console.error,
|
||||
_errorOriginal: typeof console.error,
|
||||
reportErrorsAsExceptions: boolean,
|
||||
...
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
import Platform from '../Utilities/Platform';
|
||||
|
||||
declare var console: typeof console & {_isPolyfilled: boolean, ...};
|
||||
declare var console: {[string]: $FlowFixMe};
|
||||
|
||||
/**
|
||||
* Sets up developer tools for React Native.
|
||||
|
||||
Reference in New Issue
Block a user