@solidjs/signals 0.13.6 → 0.13.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/dev.js +308 -233
- package/dist/node.cjs +418 -360
- package/dist/prod.js +427 -364
- package/dist/types/store/utils.d.ts +1 -2
- package/package.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type Store } from "./store.js";
|
|
2
1
|
/**
|
|
3
2
|
* Returns a non reactive copy of the store object.
|
|
4
3
|
* It will attempt to preserver the original reference unless the value has been modified.
|
|
@@ -12,7 +11,7 @@ export declare function snapshot<T>(item: T, map?: Map<unknown, unknown>, lookup
|
|
|
12
11
|
* and returns plain (non-proxy) data. Works correctly with `reconcile()`.
|
|
13
12
|
* @param store store proxy object
|
|
14
13
|
*/
|
|
15
|
-
export declare function deep<T extends object>(store:
|
|
14
|
+
export declare function deep<T extends object>(store: T): T;
|
|
16
15
|
type DistributeOverride<T, F> = T extends undefined ? F : T;
|
|
17
16
|
type Override<T, U> = T extends any ? U extends any ? {
|
|
18
17
|
[K in keyof T]: K extends keyof U ? DistributeOverride<U[K], T[K]> : T[K];
|