Files
react-native/Libraries
Helena Ford 4acef8e4a4 fix: EventEmitter ts definition file (#36462)
Summary:
There's an error in the `d.ts` file for EventEmitter which causes the following error:

```
This expression is not constructable.
  Type 'typeof import(".../vendor/emitter/EventEmitter")' has no construct signatures.
const emitter = new EventEmitter();
                      ~~~~~~~~~~~~
```

See https://github.com/facebook/react-native/blob/dce9d8d5de381fe53760ddda0d6cbbdfb5be00e4/Libraries/vendor/emitter/EventEmitter.js#L63

## Changelog

<!-- Help reviewers and the release process by writing your own changelog entry.

Pick one each for the category and type tags:

[GENERAL] [FIXED] -Fixes an issue with the EventEmitter type definition file

For more details, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->

Pull Request resolved: https://github.com/facebook/react-native/pull/36462

Reviewed By: cipolleschi

Differential Revision: D44130846

Pulled By: javache

fbshipit-source-id: 64cecdf55e58b99b243392811226e5095d5dc006
2023-03-16 06:04:51 -07:00
..
2022-09-30 14:28:48 -07:00
2023-02-28 10:23:36 -08:00
2022-09-30 14:28:48 -07:00
2023-01-23 07:38:48 -08:00
2022-09-30 14:28:48 -07:00
2022-09-30 14:28:48 -07:00
2023-03-03 17:06:58 -08:00
2022-09-30 14:28:48 -07:00
2022-12-06 19:34:14 -08:00
2023-02-28 10:23:36 -08:00
2022-11-02 14:58:37 -07:00
2023-02-28 10:23:36 -08:00
2023-01-19 14:04:23 -08:00