import EventEmitter from 'react-native/Libraries/vendor/emitter/EventEmitter' ; import { EventEmitter as EventEmitterInterface } from 'react-native' ; const emitter = new EventEmitter ( ) ; export default emitter ;