mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 00:20:04 +01:00
Update Flow to 0.274 (#34275)
An exported needed explicit typing as it was inferred incorrectly.
This commit is contained in:
parent
4049cfeeab
commit
090777d78a
|
|
@ -74,8 +74,8 @@
|
|||
"eslint-plugin-react-internal": "link:./scripts/eslint-rules",
|
||||
"fbjs-scripts": "^3.0.1",
|
||||
"filesize": "^6.0.1",
|
||||
"flow-bin": "^0.273",
|
||||
"flow-remove-types": "^2.273",
|
||||
"flow-bin": "^0.274",
|
||||
"flow-remove-types": "^2.274",
|
||||
"flow-typed": "^4.1.1",
|
||||
"glob": "^7.1.6",
|
||||
"glob-stream": "^6.1.0",
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
import type {
|
||||
AnyNativeEvent,
|
||||
EventTypes,
|
||||
LegacyPluginModule,
|
||||
} from './legacy-events/PluginModuleType';
|
||||
import type {TopLevelType} from './legacy-events/TopLevelEventTypes';
|
||||
import SyntheticEvent from './legacy-events/SyntheticEvent';
|
||||
|
|
@ -165,7 +166,7 @@ function accumulateDirectDispatches(events: ?(Array<Object> | Object)) {
|
|||
// End of inline
|
||||
type PropagationPhases = 'bubbled' | 'captured';
|
||||
|
||||
const ReactNativeBridgeEventPlugin = {
|
||||
const ReactNativeBridgeEventPlugin: LegacyPluginModule<AnyNativeEvent> = {
|
||||
eventTypes: ({}: EventTypes),
|
||||
|
||||
extractEvents: function (
|
||||
|
|
|
|||
10
yarn.lock
10
yarn.lock
|
|
@ -9298,12 +9298,12 @@ flatted@^3.2.9:
|
|||
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a"
|
||||
integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==
|
||||
|
||||
flow-bin@^0.273:
|
||||
version "0.273.1"
|
||||
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.273.1.tgz#18621f169ecbabe3656c56980ebaabc439ee76c1"
|
||||
integrity sha512-OlJkNCSd+i6z5xDoyGiS+3X5xYQx+vVUY2iUw6cHJR0LK3ttyA1wkiI93OuBALhLhF91KayzGhRSzXHqA75iUw==
|
||||
flow-bin@^0.274:
|
||||
version "0.274.2"
|
||||
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.274.2.tgz#79cff569aab38eb04f6b1e64b899c932a51444a4"
|
||||
integrity sha512-vTF+5hiC5qymweFKj7xs5ABlDqMWbB2fPkYC4MI32m652dFYsq/zvEVNc2M09udwAzplLcMIK2O9VswPfd8Isw==
|
||||
|
||||
flow-remove-types@^2.273:
|
||||
flow-remove-types@^2.274:
|
||||
version "2.279.0"
|
||||
resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.279.0.tgz#3a3388d9158eba0f82c40d80d31d9640b883a3f5"
|
||||
integrity sha512-bPFloMR/A2b/r/sIsf7Ix0LaMicCJNjwhXc4xEEQVzJCIz5u7C7XDaEOXOiqveKlCYK7DcBNn6R01Cbbc9gsYA==
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user