react-native-macos/Libraries/NativeModules/specs
Janic Duplessis d72e078df4 Add missing NativeEventListener methods to NativeDevSettings (#27838)
Summary:
Since migrating to Turbomodules (8fe04cf) the addMenuItem method crashes because the NativeEventListener methods are missing from the codegen flow type. Added the same methods based on what we do in AppState which is another native module that extends NativeEventListener.

## Changelog

[Internal] [Fixed] - Add missing NativeEventListener methods to NativeDevSettings
Pull Request resolved: https://github.com/facebook/react-native/pull/27838

Test Plan:
|Before|After|
|{F226978596}|{F226978628}

Differential Revision: D19518474

Pulled By: PeteTheHeat

fbshipit-source-id: acddba9f18dd558df1d6df78b539689fdfd0062f
2020-01-23 13:20:53 -08:00
..
NativeAnimationsDebugModule.js Convert easy files to flow strict-local 2019-12-05 16:06:46 -08:00
NativeDevMenu.js Make RCTDevMenu and RCTDevSettings TurboModule-compatible 2019-11-04 16:07:23 -08:00
NativeDevSettings.js Add missing NativeEventListener methods to NativeDevSettings (#27838) 2020-01-23 13:20:53 -08:00
NativeDeviceEventManager.js TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
NativeDialogManagerAndroid.js TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
NativeLogBox.js Add NativeLogBox module on iOS 2019-12-10 02:31:37 -08:00
NativeRedBox.js TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
NativeSourceCode.js Convert easy files to flow strict-local 2019-12-05 16:06:46 -08:00