typed-emitter
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -35,3 +35,3 @@ type Arguments<T> = [T] extends [(...args: infer U) => any] | ||
emit<E extends keyof Events> (event: E, ...args: Arguments<Events[E]>): boolean | ||
eventNames (): (keyof Events)[] | ||
eventNames (): (keyof Events | string | symbol)[] | ||
listeners<E extends keyof Events> (event: E): Function[] | ||
@@ -38,0 +38,0 @@ listenerCount<E extends keyof Events> (event: E): number |
{ | ||
"name": "typed-emitter", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Strictly typed event emitter interface for TypeScript 3.", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4828