Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Back out "RN: Adopt Mapped Types in EventEmitter" (facebook#38599)
Summary: Pull Request resolved: facebook#38599 Currently, `metro-config` does not have `hermes-parser` enabled by default. This is because `hermes-parser` does not yet support parsing all of TypeScript's syntax nodes. However, this also means we cannot yet utilize any Flow langauge features that require the use of `hermes-parser` (and are unsupported by Babel). Mapped types falls into this category, so we cannot use them. This backs out a recent change that tried to adopt Flow mapped types in `EventEmitter`, for now. We can revisit after making the necessary changes to `metro-config`. Changelog: [Internal] Reviewed By: pieterv Differential Revision: D47729818 fbshipit-source-id: f562d1456490e89f84c40b8f638ffe5eaf94dbc2
- Loading branch information