@mpxjs/core 2.8.36 → 2.8.39
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 +2 -2
- package/package.json +2 -2
package/@types/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/// <reference path="./node.d.ts" />
|
|
9
9
|
|
|
10
10
|
// @ts-ignore
|
|
11
|
-
import
|
|
11
|
+
import { GetComputedType } from '@mpxjs/store'
|
|
12
12
|
|
|
13
13
|
// @ts-ignore
|
|
14
14
|
export * from '@mpxjs/store'
|
|
@@ -592,7 +592,7 @@ export function onTabItemTap (callback: WechatMiniprogram.Page.ILifetime['onTabI
|
|
|
592
592
|
export function onSaveExitState (callback: () => void): void
|
|
593
593
|
|
|
594
594
|
// get instance
|
|
595
|
-
export function getCurrentInstance<T extends MpxComponentIns
|
|
595
|
+
export function getCurrentInstance<T extends MpxComponentIns & WechatMiniprogram.Component.Instance<{}, {}, {}>> (): T
|
|
596
596
|
|
|
597
597
|
// I18n
|
|
598
598
|
export function useI18n<Options extends {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mpxjs/core",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.39",
|
|
4
4
|
"description": "mpx runtime core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"miniprogram",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"url": "https://github.com/didi/mpx/issues"
|
|
48
48
|
},
|
|
49
49
|
"sideEffects": false,
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "c11c93eeb5315c5ff54df7ace05709a21bdaea53"
|
|
51
51
|
}
|