Merge branch 'liudongpu-patch-1'

This commit is contained in:
Andy Hanson
2017-06-01 07:55:31 -07:00
+1 -1
View File
@@ -234,7 +234,7 @@ interface EventEmitter extends EventEmitterListener {
*
* emitter.emit('someEvent', 'abc'); // logs 'abc'
*/
emit(eventType: string): void
emit(eventType: string, ...params: any[]): void
/**
* Removes the given listener for event of specific type.