@quilted/events
Advanced tools
Comparing version 0.1.14 to 0.1.15
@@ -1,2 +0,2 @@ | ||
export declare type AbortBehavior = 'throws' | 'returns'; | ||
export type AbortBehavior = 'throws' | 'returns'; | ||
export declare class NestedAbortController extends AbortController { | ||
@@ -3,0 +3,0 @@ private readonly cleanup; |
import type { AbortBehavior } from './abort'; | ||
export declare type EmitterHandler<T = unknown> = (event: T) => void; | ||
export type EmitterHandler<T = unknown> = (event: T) => void; | ||
export interface Emitter<Events = {}> { | ||
@@ -4,0 +4,0 @@ on<Event extends keyof Events>(type: Event, options: { |
@@ -17,3 +17,3 @@ export interface EventTargetAddEventListener<EventMap = Record<string, unknown>> { | ||
} | ||
export declare type EventTarget<EventMap = Record<string, unknown>> = EventTargetAddEventListener<EventMap> | EventTargetOn<EventMap> | EventTargetFunction<EventMap>; | ||
export type EventTarget<EventMap = Record<string, unknown>> = EventTargetAddEventListener<EventMap> | EventTargetOn<EventMap> | EventTargetFunction<EventMap>; | ||
//# sourceMappingURL=types.d.ts.map |
# @quilted/events | ||
## 0.1.15 | ||
### Patch Changes | ||
- [#429](https://github.com/lemonmade/quilt/pull/429) [`69a5d2a1`](https://github.com/lemonmade/quilt/commit/69a5d2a1f9c2fe8d93be3157eb33506b0b8f7df7) Thanks [@lemonmade](https://github.com/lemonmade)! - Update all development dependencies to their latest versions | ||
## 0.1.14 | ||
@@ -4,0 +10,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"type": "module", | ||
"version": "0.1.14", | ||
"version": "0.1.15", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "engines": { |
@@ -7,3 +7,2 @@ import {on as onEvent} from './on'; | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
export interface Emitter<Events = {}> { | ||
@@ -36,3 +35,2 @@ on<Event extends keyof Events>( | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
export function createEmitter<Events = {}>( | ||
@@ -108,3 +106,2 @@ internal?: Emitter<EmitterInternalEvents<Events>>, | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
export interface EmitterInternalEvents<Events = {}> { | ||
@@ -123,3 +120,2 @@ add: { | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
export interface EmitterWithInternals<Events = {}> extends Emitter<Events> { | ||
@@ -130,3 +126,2 @@ readonly internal: Emitter<EmitterInternalEvents<Events>>; | ||
export function createEmitterWithInternals< | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
Events = {}, | ||
@@ -133,0 +128,0 @@ >(): EmitterWithInternals<Events> { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
87228
1304