@wixc3/patterns
Advanced tools
Comparing version 3.0.3 to 3.0.4
@@ -9,7 +9,7 @@ /** | ||
}; | ||
export declare type DisposeFunction = () => unknown; | ||
export declare type Disposable = { | ||
export type DisposeFunction = () => unknown; | ||
export type Disposable = { | ||
dispose: DisposeFunction; | ||
} | DisposeFunction; | ||
export declare type Disposables = ReturnType<typeof createDisposables>; | ||
export type Disposables = ReturnType<typeof createDisposables>; | ||
//# sourceMappingURL=create-disposables.d.ts.map |
@@ -52,3 +52,3 @@ /** | ||
} | ||
export declare type IEventEmitter<T extends Record<string, any>> = Pick<EventEmitter<T>, keyof EventEmitter<T>>; | ||
export type IEventEmitter<T extends Record<string, any>> = Pick<EventEmitter<T>, keyof EventEmitter<T>>; | ||
//# sourceMappingURL=event-emitter.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export declare type Listener<T> = (data: T) => void; | ||
export type Listener<T> = (data: T) => void; | ||
/** | ||
@@ -3,0 +3,0 @@ * Signal is a simple event emitter for one type of event. |
@@ -9,7 +9,7 @@ /** | ||
}; | ||
export declare type DisposeFunction = () => unknown; | ||
export declare type Disposable = { | ||
export type DisposeFunction = () => unknown; | ||
export type Disposable = { | ||
dispose: DisposeFunction; | ||
} | DisposeFunction; | ||
export declare type Disposables = ReturnType<typeof createDisposables>; | ||
export type Disposables = ReturnType<typeof createDisposables>; | ||
//# sourceMappingURL=create-disposables.d.ts.map |
@@ -52,3 +52,3 @@ /** | ||
} | ||
export declare type IEventEmitter<T extends Record<string, any>> = Pick<EventEmitter<T>, keyof EventEmitter<T>>; | ||
export type IEventEmitter<T extends Record<string, any>> = Pick<EventEmitter<T>, keyof EventEmitter<T>>; | ||
//# sourceMappingURL=event-emitter.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export declare type Listener<T> = (data: T) => void; | ||
export type Listener<T> = (data: T) => void; | ||
/** | ||
@@ -3,0 +3,0 @@ * Signal is a simple event emitter for one type of event. |
{ | ||
"name": "@wixc3/patterns", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "A utility for saving objects to be disposed", | ||
@@ -21,5 +21,5 @@ "main": "dist/cjs/index.js", | ||
"dependencies": { | ||
"@wixc3/common": "^3.0.3", | ||
"@wixc3/common": "^3.0.4", | ||
"promise-assist": "^1.3.0" | ||
} | ||
} |
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
91742
Updated@wixc3/common@^3.0.4