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:
Sam Zhou
2023-06-01 23:17:12 -07:00
committed by Facebook GitHub Bot
parent 0191d16712
commit e25c6632a2
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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.