@deephaven/utils
Advanced tools
Comparing version 0.93.1-beta.3 to 0.94.0
@@ -1,2 +0,3 @@ | ||
import type { Event, EventTarget } from 'event-target-shim'; | ||
import type { Event as EventT, EventTarget as EventTargetT } from 'event-target-shim'; | ||
export type { EventT }; | ||
/** | ||
@@ -8,6 +9,6 @@ * A CustomEvent extension which combines the browser CustomEvent and event-target-shim's Event types for type safety | ||
type: T; | ||
target: EventTarget | null; | ||
srcElement: EventTarget | null; | ||
currentTarget: EventTarget | null; | ||
composedPath: () => EventTarget[]; | ||
target: (EventTargetT & EventTarget) | null; | ||
srcElement: (EventTargetT & EventTarget) | null; | ||
currentTarget: (EventTargetT & EventTarget) | null; | ||
composedPath: () => (EventTargetT & EventTarget)[]; | ||
constructor(typeArg: T, eventInitDict?: CustomEventInit<D>); | ||
@@ -21,4 +22,4 @@ } | ||
export type CustomEventMap<M extends Record<string, Event | CustomEvent>> = { | ||
[T in keyof M]: T extends string ? M[T] extends CustomEvent<infer D> ? EventShimCustomEvent<T, D> : M[T] extends Event ? Event<T> : never : never; | ||
[T in keyof M]: T extends string ? M[T] extends CustomEvent<infer D> ? EventShimCustomEvent<T, D> : M[T] extends EventT ? EventT<T> : never : never; | ||
}; | ||
//# sourceMappingURL=EventTargetShimUtils.d.ts.map |
{ | ||
"name": "@deephaven/utils", | ||
"version": "0.93.1-beta.3+da523cce", | ||
"version": "0.94.0", | ||
"description": "Deephaven Utils", | ||
@@ -32,5 +32,5 @@ "author": "Deephaven Data Labs LLC", | ||
"devDependencies": { | ||
"@deephaven/test-utils": "^0.93.1-beta.3+da523cce" | ||
"@deephaven/test-utils": "^0.94.0" | ||
}, | ||
"gitHead": "da523cce83e0a0a38e9162a37511306828f9f8bf" | ||
"gitHead": "96e3d4326a855ae67e65f036a909be130c66c40d" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
171553
1632
0