jaxs 0.9.6 → 0.9.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/jaxs.d.ts +2 -2
- package/dist/jaxs.js +174 -174
- package/dist/jaxs.umd.cjs +173 -173
- package/package.json +1 -1
package/dist/jaxs.d.ts
CHANGED
|
@@ -453,7 +453,7 @@ export declare const ListStore: {
|
|
|
453
453
|
reset: <T>(store: Store<T[]>) => void
|
|
454
454
|
includes: <T>(store: Store<T[]>, value: T) => boolean
|
|
455
455
|
appendIfUnique: <T>(store: Store<T[]>, item: T) => void
|
|
456
|
-
|
|
456
|
+
find: <T>(store: Store<T[]>, matcherFunction: (value: T) => boolean) => T
|
|
457
457
|
replace: <T>(store: Store<T[]>, original: T, replacement: T) => void
|
|
458
458
|
}
|
|
459
459
|
|
|
@@ -747,7 +747,7 @@ declare class StoreUpdaterList<T> {
|
|
|
747
747
|
removeBy(matcherFunction: (value: T) => boolean): void
|
|
748
748
|
includes(value: T): boolean
|
|
749
749
|
appendIfUnique(item: T): void
|
|
750
|
-
|
|
750
|
+
find(matcherFunction: (value: T) => boolean): T
|
|
751
751
|
replace(original: T, replacement: T): void
|
|
752
752
|
}
|
|
753
753
|
|