@braintree/event-emitter
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -0,1 +1,5 @@ | ||
# 1.0.2 | ||
- Revert incorrect Typescript typing where callback function for `on` | ||
# 1.0.1 | ||
@@ -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.1", | ||
"version": "1.0.2", | ||
"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
5642