{"version":3,"file":"SyntheticPlatformEmitter.js","sourceRoot":"","sources":["../src/SyntheticPlatformEmitter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAElD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD;;;GAGG;AACH,MAAM,wBAAwB;IAA9B;QACE,aAAQ,GAAG,IAAI,eAAe,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;IAKtE,CAAC;IAHC,IAAI,CAAC,SAAiB,EAAE,KAAU;QAChC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;IACvC,CAAC;CACF;AAED,eAAe,IAAI,wBAAwB,EAAE,CAAC","sourcesContent":["import { DeviceEventEmitter } from 'react-native';\n\nimport { RCTEventEmitter } from './nativeEmitters';\n\n/**\n * This emitter is used for sending synthetic native events to listeners\n * registered in the API layer with `NativeEventEmitter`.\n */\nclass SyntheticPlatformEmitter {\n _emitter = new RCTEventEmitter(DeviceEventEmitter.sharedSubscriber);\n\n emit(eventName: string, props: any): void {\n this._emitter.emit(eventName, props);\n }\n}\n\nexport default new SyntheticPlatformEmitter();\n"]}