Files
react-native/Libraries/Events
Petr Bela 1f8c0c8860 remove return type from constructor (#35466)
Summary:
I'm getting `node_modules/react-native/Libraries/Events/EventPolyfill.js: Unexpected token, expected "{"` when building an app. Looking at the source code, it seems odd there'd be a return type defined for a constructor. Unless I'm missing something (I don't use flow), I think it should be removed?

## Changelog

[Internal] [Fixed] - Remove return type from constructor

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

Test Plan: N/A

Reviewed By: jacdebug

Differential Revision: D41527010

Pulled By: yungsters

fbshipit-source-id: 9f4faf1305ebe1915f5bcf07fc86b7437aed0c97
2022-11-24 18:26:36 -08:00
..