mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-10 22:44:43 +08:00
Merge branch 'patch-1' of https://github.com/liudongpu/DefinitelyTyped into liudongpu-patch-1
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): void
|
||||
emit(eventType: string,...param:any[]): void
|
||||
|
||||
/**
|
||||
* Removes the given listener for event of specific type.
|
||||
|
||||
Reference in New Issue
Block a user