mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-05 14:59:37 +08:00
Fix lint
This commit is contained in:
2
types/react-native/index.d.ts
vendored
2
types/react-native/index.d.ts
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user