Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix regression with NativeSyntheticEvent and add test. (#38600)
Summary: With moving the TypeScript declarations into the repo, the NativeSyntheticEvent type was copied incorrectly from DefinitelyTyped. This was the old one: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react-native/v0.70/index.d.ts#L355 ## Changelog: [GENERAL] [FIXED] - Correct the NativeSyntheticEvent type Pull Request resolved: #38600 Test Plan: Added a test and ran `yarn test-typescript` Reviewed By: NickGerleman Differential Revision: D47739191 Pulled By: lunaleaps fbshipit-source-id: 0c8b51a62f589a716121e9bfa8ce7e6103f37f6b
- Loading branch information