@mpxjs/core 2.8.20 → 2.8.21

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 CHANGED
@@ -639,7 +639,7 @@ export const ONHIDE: string
639
639
  export const ONRESIZE: string
640
640
 
641
641
  declare global {
642
- const defineProps: <T>(props: T) => Readonly<GetPropsType<T>>
642
+ const defineProps: (<T>(props: T) => Readonly<GetPropsType<T>>) & (<T>() => Readonly<T>)
643
643
  const defineOptions: <D extends Data = {}, P extends Properties = {}, C = {}, M extends Methods = {}, Mi extends Array<any> = [], S extends AnyObject = {}, O extends AnyObject = {}> (opt: ThisTypedComponentOpt<D, P, C, M, Mi, S, O>) => void
644
644
  const defineExpose: <E extends AnyObject = AnyObject>(exposed?: E) => void
645
645
  const useContext: () => Context
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mpxjs/core",
3
- "version": "2.8.20",
3
+ "version": "2.8.21",
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": "c330d3938cc0c37843761df8b1f2deb9b6c618fc"
50
+ "gitHead": "976455b62ed3cd98c7e58d7daca99fd8abb4b5fa"
51
51
  }