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"
Summary: 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: ec90b38e113a9c3ad952f33777fabbd82519cffb
- Loading branch information