micro-observables
Advanced tools
Comparing version 1.4.0-rc1 to 1.4.0-rc2
export declare type Listener<T> = (val: T, prevVal: T) => void; | ||
export declare type Unsubscriber = () => void; | ||
export declare type ObservableValue<T> = T extends Observable<infer U> ? U : T; | ||
export declare type ObservableValue<T> = T extends Observable<infer U> ? U : never; | ||
export declare type ObservableValues<T> = { | ||
@@ -38,3 +38,3 @@ [K in keyof T]: ObservableValue<T[K]>; | ||
static merge<T>(observables: Observable<T>[]): Observable<T[]>; | ||
static latest<T>(...observables: Observable<T>[]): Observable<T>; | ||
static latest<T extends Observable<any>[]>(...observables: T): Observable<ObservableValues<T>[number]>; | ||
static fromPromise<T, E = undefined>(promise: Promise<T>, onError?: (error: any) => E): Observable<T | E | undefined>; | ||
@@ -41,0 +41,0 @@ toPromise(): Promise<T>; |
{ | ||
"name": "micro-observables", | ||
"version": "1.4.0-rc1", | ||
"version": "1.4.0-rc2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
26361
0