cradova 3.1.1 → 3.1.2

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/dist/index.d.ts +1 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -233,7 +233,7 @@ declare module "cradova" {
233
233
  export function useState<S>(
234
234
  initialValue: S,
235
235
  ActiveRef: Ref<S>
236
- ): (S | ((newState: S) => void))[];
236
+ ): [S, (newState: S) => void];
237
237
  /**
238
238
  * Cradova
239
239
  * ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cradova",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "description": "Web framework for building web apps and PWAs",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",