Updated eventemmiter2 config options

This commit is contained in:
kwiateusz
2016-11-16 20:53:40 +01:00
committed by GitHub
parent ac5718bbbc
commit 085fc5f4c3
+5 -1
View File
@@ -1,4 +1,4 @@
// Type definitions for EventEmitter2 v0.14.4
// Type definitions for EventEmitter2 v2.2.0
// Project: https://github.com/asyncly/EventEmitter2
// Definitions by: ryiwamoto <https://github.com/ryiwamoto/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -23,6 +23,10 @@ interface EventEmitter2Configuration {
* max listeners that can be assigned to an event, default 10.
*/
maxListeners?: number;
/**
* show event name in memory leak message when more than maximum amount of listeners is assigned, default false
*/
verboseMemoryLeak?: boolean;
}
declare class EventEmitter2 {