Merge branch 'patch-1' of https://github.com/liudongpu/DefinitelyTyped into liudongpu-patch-1

This commit is contained in:
Andy Hanson
2017-06-01 07:54:38 -07:00

View File

@@ -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.