callbag-state
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -1,2 +0,2 @@ | ||
import { Source, Sink, START, DATA, END, Callbag } from 'callbag'; | ||
import { Source, Sink, START, DATA, END } from 'callbag'; | ||
export declare type ChangeTraceLeaf<T> = { | ||
@@ -7,3 +7,3 @@ from: T | undefined; | ||
export declare type ChangeTraceNode<T> = { | ||
subs: (T extends any[] ? { | ||
subs: (T extends Array<unknown> ? { | ||
[index: number]: ChangeTrace<T[number]>; | ||
@@ -39,5 +39,5 @@ } : Partial<{ | ||
}; | ||
export declare function isState<T>(cb: Callbag<any, T>): cb is State<T>; | ||
export declare function isState<T>(cb: Source<T>): cb is State<T>; | ||
export declare const _Start = 0; | ||
export declare const _Data = 1; | ||
export declare const _End = 2; |
@@ -1,2 +0,2 @@ | ||
import { Source, Sink, START, DATA, END, Callbag } from 'callbag'; | ||
import { Source, Sink, START, DATA, END } from 'callbag'; | ||
export declare type ChangeTraceLeaf<T> = { | ||
@@ -7,3 +7,3 @@ from: T | undefined; | ||
export declare type ChangeTraceNode<T> = { | ||
subs: (T extends any[] ? { | ||
subs: (T extends Array<unknown> ? { | ||
[index: number]: ChangeTrace<T[number]>; | ||
@@ -39,5 +39,5 @@ } : Partial<{ | ||
}; | ||
export declare function isState<T>(cb: Callbag<any, T>): cb is State<T>; | ||
export declare function isState<T>(cb: Source<T>): cb is State<T>; | ||
export declare const _Start = 0; | ||
export declare const _Data = 1; | ||
export declare const _End = 2; |
{ | ||
"name": "callbag-state", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Callbag-based State Management", | ||
@@ -5,0 +5,0 @@ "main": "dist/es5/index.js", |
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
75914