@braintree/event-emitter
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -0,1 +1,5 @@ | ||
# 1.0.1 | ||
- Correct Typescript typing where callback function for `on` does not require an argument | ||
# 1.0.0 | ||
@@ -2,0 +6,0 @@ |
@@ -1,2 +0,2 @@ | ||
declare type CallbackFunction<T = unknown> = (eventPayload: T) => void; | ||
declare type CallbackFunction<T = unknown> = (eventPayload?: T) => void; | ||
declare class EventEmitter { | ||
@@ -3,0 +3,0 @@ _events: Record<string, CallbackFunction[]>; |
{ | ||
"name": "@braintree/event-emitter", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A simple event emitter.", | ||
@@ -5,0 +5,0 @@ "main": "dist/event-emitter.js", |
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
5563