@sigil-dev/types 0.9.10 → 0.9.12
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/index.d.ts +5 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -16,6 +16,11 @@ declare namespace $state {
|
|
|
16
16
|
export function snapshot<T>(value: T): T;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
/**
|
|
20
|
+
* Declare reactive state meant to be exported and shared between modules
|
|
21
|
+
*/
|
|
22
|
+
declare function $store<T>(initial: T): T;
|
|
23
|
+
|
|
19
24
|
/**
|
|
20
25
|
* Declare derived state
|
|
21
26
|
*/
|