@mpxjs/core 2.7.1-beta.1 → 2.7.1
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/global.d.ts +8 -0
- package/package.json +2 -2
package/@types/global.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import VueI18n from 'vue-i18n'
|
|
2
|
+
|
|
1
3
|
// declaration for mpx mode
|
|
2
4
|
declare let __mpx_mode__: 'wx' | 'ali' | 'swan' | 'qq' | 'tt' | 'web' | 'dd' | 'qa' | 'jd'
|
|
3
5
|
|
|
@@ -9,3 +11,9 @@ declare module '*?resolve' {
|
|
|
9
11
|
const resourcePath: string
|
|
10
12
|
export default resourcePath
|
|
11
13
|
}
|
|
14
|
+
|
|
15
|
+
declare module 'vue-i18n' {
|
|
16
|
+
export default interface VueI18n {
|
|
17
|
+
mergeMessages(messages: {[index: string]:VueI18n.LocaleMessageObject}): void;
|
|
18
|
+
}
|
|
19
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mpxjs/core",
|
|
3
|
-
"version": "2.7.1
|
|
3
|
+
"version": "2.7.1",
|
|
4
4
|
"description": "mpx runtime core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"miniprogram",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"url": "https://github.com/didi/mpx/issues"
|
|
42
42
|
},
|
|
43
43
|
"sideEffects": false,
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "a672cdbf1689bb4d7f1a0fbcb1037d9f99e5d015"
|
|
45
45
|
}
|