diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 2cca4ed77c..c049c2aa5f 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -234,7 +234,7 @@ interface EventEmitter extends EventEmitterListener { * * emitter.emit('someEvent', 'abc'); // logs 'abc' */ - emit(eventType: string,...param:any[]): void + emit(eventType: string, ...params: any[]): void /** * Removes the given listener for event of specific type.