@mpxjs/store 2.9.59 → 2.9.64
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/@types/index.d.ts +3 -5
- package/package.json +3 -3
package/@types/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-ignore
|
|
2
1
|
import type { ComputedRef } from '@mpxjs/core'
|
|
3
2
|
|
|
4
3
|
type UnboxDepField<D, F> = F extends keyof D ? D[F] : {}
|
|
@@ -55,11 +54,10 @@ type GetDispatch<A, D> = keyof D extends never ? (<T extends keyof A>(type: T, .
|
|
|
55
54
|
|
|
56
55
|
type GetCommit<M, D> = keyof D extends never ? (<T extends keyof M>(type: T, ...payload: M[T] extends (state: any, ...payload: infer P) => any ? P : never) => M[T] extends (state: any, ...payload: any[]) => infer R ? R : never) : ((type: string, ...payload: any[]) => any)
|
|
57
56
|
|
|
58
|
-
|
|
59
57
|
// do not exist in tip
|
|
60
|
-
declare const DEPS_SYMBOL: unique symbol
|
|
61
|
-
declare const STATE_SYMBOL: unique symbol
|
|
62
|
-
declare const GETTERS_SYMBOL: unique symbol
|
|
58
|
+
declare const DEPS_SYMBOL: unique symbol
|
|
59
|
+
declare const STATE_SYMBOL: unique symbol
|
|
60
|
+
declare const GETTERS_SYMBOL: unique symbol
|
|
63
61
|
|
|
64
62
|
type DepsSymbol = typeof DEPS_SYMBOL
|
|
65
63
|
type StateSymbol = typeof STATE_SYMBOL
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mpxjs/store",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.64",
|
|
4
4
|
"description": "A store for mpx framework",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "@types/index.d.ts",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
},
|
|
27
27
|
"homepage": "https://github.com/didi/mpx#readme",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@mpxjs/utils": "^2.9.
|
|
29
|
+
"@mpxjs/utils": "^2.9.64"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"@mpxjs/core": "^2.9.0"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "803334dc0e600f219d514c27461aa7663b7a6653"
|
|
35
35
|
}
|