@dcloudio/uni-app-x 0.7.103 → 0.7.104

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-app-x",
3
- "version": "0.7.103",
3
+ "version": "0.7.104",
4
4
  "description": "uni-app x types",
5
5
  "typings": "index.d.ts",
6
6
  "main": "index.d.ts",
@@ -273,11 +273,19 @@ declare global {
273
273
  constructor(scope: UniSharedDataPage)
274
274
  }
275
275
 
276
- class VueReactivity { }
276
+ enum TrackOpTypes {
277
+ GET = "get",
278
+ HAS = "has",
279
+ ITERATE = "iterate",
280
+ }
281
+
282
+ class VueReactivity {
283
+ track(target: object, type: TrackOpTypes, key: unknown): void
284
+ }
277
285
 
278
286
  // 编译宏
279
287
 
280
- interface UniSharedDataRegistry { }
288
+ interface UniSharedDataRegistry {}
281
289
 
282
290
  type InferSharedData<T, R extends UniSharedData = UniSharedData> = T extends keyof UniSharedDataRegistry ? UniSharedDataRegistry[T] : R
283
291
 
@@ -300,4 +308,4 @@ declare global {
300
308
  function observable(): any
301
309
  }
302
310
 
303
- export { }
311
+ export {}