Comparing version 2.6.74 to 2.6.76
@@ -0,1 +1,3 @@ | ||
import { ManualCleanup as ManualCleanup_2 } from './manualCleanup'; | ||
declare type AllowFixed<T> = T extends RxList<infer U> ? U[] | T : T extends RxMap<infer K, infer V> ? [K, V][] | T : T extends Atom<infer U> ? U | T : T; | ||
@@ -10,3 +12,3 @@ | ||
} & { | ||
$map: <T_1>(fn: (item: UnwrapReactive<T>, index?: AtomBase<number> | undefined) => any) => UnwrapReactive<T_1>; | ||
$map: <T_1>(fn: (item: UnwrapReactive<T>, index?: Atom<number>) => any) => UnwrapReactive<T_1>; | ||
}; | ||
@@ -186,3 +188,3 @@ | ||
destroy(ignoreChildren?: boolean): void; | ||
collectEffect: typeof ManualCleanup.collectEffect; | ||
collectEffect: ManualCleanup_2.collectEffect; | ||
destroyEffect: (effect: ReactiveEffect) => void; | ||
@@ -573,3 +575,3 @@ cachedValues: Map<any, any>; | ||
export declare function isReactivableType(data: any): boolean; | ||
export declare function isReactivableType(data: any): data is object | any[] | Map<any, any> | Set<any>; | ||
@@ -645,6 +647,6 @@ export declare function isReactive(value: unknown): boolean; | ||
readonly size: number; | ||
entries: () => IterableIterator<[K, V]>; | ||
keys: () => IterableIterator<K>; | ||
values: () => IterableIterator<V>; | ||
[Symbol.iterator]: () => IterableIterator<[K, V]>; | ||
entries: () => MapIterator<[K, V]>; | ||
keys: () => MapIterator<K>; | ||
values: () => MapIterator<V>; | ||
[Symbol.iterator]: () => MapIterator<[K, V]>; | ||
readonly [Symbol.toStringTag]: string; | ||
@@ -1258,6 +1260,13 @@ } & { | ||
readonly size: number; | ||
entries: () => IterableIterator<[T, T]>; | ||
keys: () => IterableIterator<T>; | ||
values: () => IterableIterator<T>; | ||
[Symbol.iterator]: () => IterableIterator<T>; | ||
entries: () => SetIterator<[T, T]>; | ||
keys: () => SetIterator<T>; | ||
values: () => SetIterator<T>; | ||
union: <U>(other: ReadonlySetLike<U>) => Set<T | U>; | ||
intersection: <U>(other: ReadonlySetLike<U>) => Set<T & U>; | ||
difference: <U>(other: ReadonlySetLike<U>) => Set<T>; | ||
symmetricDifference: <U>(other: ReadonlySetLike<U>) => Set<T | U>; | ||
isSubsetOf: (other: ReadonlySetLike<unknown>) => boolean; | ||
isSupersetOf: (other: ReadonlySetLike<unknown>) => boolean; | ||
isDisjointFrom: (other: ReadonlySetLike<unknown>) => boolean; | ||
[Symbol.iterator]: () => SetIterator<T>; | ||
readonly [Symbol.toStringTag]: string; | ||
@@ -1269,14 +1278,14 @@ } & { | ||
} & ((newValue?: any) => (callbackfn: (value: T, value2: T, set: Set<T>) => void, thisArg?: any) => void)) | undefined; | ||
$entries?: ((() => IterableIterator<[T, T]>) & { | ||
raw: () => IterableIterator<[T, T]>; | ||
$entries?: ((() => SetIterator<[T, T]>) & { | ||
raw: () => SetIterator<[T, T]>; | ||
__v_isAtom: true; | ||
} & ((newValue?: any) => () => IterableIterator<[T, T]>)) | undefined; | ||
$keys?: ((() => IterableIterator<T>) & { | ||
raw: () => IterableIterator<T>; | ||
} & ((newValue?: any) => () => SetIterator<[T, T]>)) | undefined; | ||
$keys?: ((() => SetIterator<T>) & { | ||
raw: () => SetIterator<T>; | ||
__v_isAtom: true; | ||
} & ((newValue?: any) => () => IterableIterator<T>)) | undefined; | ||
$values?: ((() => IterableIterator<T>) & { | ||
raw: () => IterableIterator<T>; | ||
} & ((newValue?: any) => () => SetIterator<T>)) | undefined; | ||
$values?: ((() => SetIterator<T>) & { | ||
raw: () => SetIterator<T>; | ||
__v_isAtom: true; | ||
} & ((newValue?: any) => () => IterableIterator<T>)) | undefined; | ||
} & ((newValue?: any) => () => SetIterator<T>)) | undefined; | ||
$has?: (((value: T) => boolean) & { | ||
@@ -1299,2 +1308,30 @@ raw: (value: T) => boolean; | ||
$size?: AtomBase<number> | undefined; | ||
$union?: ((<U>(other: ReadonlySetLike<U>) => Set<T | U>) & { | ||
raw: <U>(other: ReadonlySetLike<U>) => Set<T | U>; | ||
__v_isAtom: true; | ||
} & ((newValue?: any) => <U>(other: ReadonlySetLike<U>) => Set<T | U>)) | undefined; | ||
$intersection?: ((<U>(other: ReadonlySetLike<U>) => Set<T & U>) & { | ||
raw: <U>(other: ReadonlySetLike<U>) => Set<T & U>; | ||
__v_isAtom: true; | ||
} & ((newValue?: any) => <U>(other: ReadonlySetLike<U>) => Set<T & U>)) | undefined; | ||
$difference?: ((<U>(other: ReadonlySetLike<U>) => Set<T>) & { | ||
raw: <U>(other: ReadonlySetLike<U>) => Set<T>; | ||
__v_isAtom: true; | ||
} & ((newValue?: any) => <U>(other: ReadonlySetLike<U>) => Set<T>)) | undefined; | ||
$symmetricDifference?: ((<U>(other: ReadonlySetLike<U>) => Set<T | U>) & { | ||
raw: <U>(other: ReadonlySetLike<U>) => Set<T | U>; | ||
__v_isAtom: true; | ||
} & ((newValue?: any) => <U>(other: ReadonlySetLike<U>) => Set<T | U>)) | undefined; | ||
$isSubsetOf?: (((other: ReadonlySetLike<unknown>) => boolean) & { | ||
raw: (other: ReadonlySetLike<unknown>) => boolean; | ||
__v_isAtom: true; | ||
} & ((newValue?: any) => (other: ReadonlySetLike<unknown>) => boolean)) | undefined; | ||
$isSupersetOf?: (((other: ReadonlySetLike<unknown>) => boolean) & { | ||
raw: (other: ReadonlySetLike<unknown>) => boolean; | ||
__v_isAtom: true; | ||
} & ((newValue?: any) => (other: ReadonlySetLike<unknown>) => boolean)) | undefined; | ||
$isDisjointFrom?: (((other: ReadonlySetLike<unknown>) => boolean) & { | ||
raw: (other: ReadonlySetLike<unknown>) => boolean; | ||
__v_isAtom: true; | ||
} & ((newValue?: any) => (other: ReadonlySetLike<unknown>) => boolean)) | undefined; | ||
}; | ||
@@ -1301,0 +1338,0 @@ |
{ | ||
"name": "axii", | ||
"version": "2.6.74", | ||
"version": "2.6.76", | ||
"description": "", | ||
@@ -49,4 +49,4 @@ "main": "index.js", | ||
"peerDependencies": { | ||
"data0": "^1.7.38" | ||
"data0": "^1.7.39" | ||
} | ||
} |
521526
2998
81