@sigil-dev/types 0.9.10 → 0.9.11

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.
Files changed (2) hide show
  1. package/index.d.ts +5 -0
  2. 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
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sigil-dev/types",
3
3
  "description": "JSX/runtime sigil types",
4
- "version": "0.9.10",
4
+ "version": "0.9.11",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": "./index.d.ts"