Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update type definitions for unstable_batchedUpdates (#36180)
Summary: This PR fixes the type definitions for `unstable_batchedUpdates`. The same change was recently made on DefinitelyTyped - see DefinitelyTyped/DefinitelyTyped#63517 for a more detailed explanation ## Changelog [General] [Fixed] - fix type definition for `unstable_batchedUpdates` Pull Request resolved: #36180 Test Plan: Note how the typescript defintions now match [the flow definitions](https://github.com/facebook/react-native/blob/43636267011a97490ed7495b08e500c5d0d54872/Libraries/ReactNative/RendererImplementation.js#L99), and note how [the tests in DefinitelyTyped](https://github.com/k-yle/DefinitelyTyped/blob/a4e15e3c2b9c6d689918cbbfa98c02cd26fe7681/types/react-dom/test/react-dom-tests.tsx#L231-L238) are passing. Reviewed By: christophpurrer, cortinico Differential Revision: D43367314 Pulled By: lunaleaps fbshipit-source-id: 74351daaf2c00a372f4e28992d41ebd2cbb1c7cc
- Loading branch information