@tarojs/taro 3.6.0-canary.8 → 3.6.0-canary.9

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": "@tarojs/taro",
3
- "version": "3.6.0-canary.8",
3
+ "version": "3.6.0-canary.9",
4
4
  "description": "Taro framework",
5
5
  "homepage": "https://github.com/nervjs/taro/tree/master/packages/taro#readme",
6
6
  "main": "index.js",
@@ -21,8 +21,8 @@
21
21
  "author": "O2Team",
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "@tarojs/api": "3.6.0-canary.8",
25
- "@tarojs/runtime": "3.6.0-canary.8"
24
+ "@tarojs/api": "3.6.0-canary.9",
25
+ "@tarojs/runtime": "3.6.0-canary.9"
26
26
  },
27
27
  "peerDependenciesMeta": {
28
28
  "@types/react": {
@@ -6,7 +6,7 @@ declare module './index' {
6
6
  * 页面展示时的回调。
7
7
  * @supported global
8
8
  */
9
- useDidShow(callback: () => void): void
9
+ useDidShow(callback: (options?: getLaunchOptionsSync.LaunchOptions) => void): void
10
10
 
11
11
  /**
12
12
  * 页面隐藏时的回调。
@@ -100,7 +100,7 @@ declare module './index' {
100
100
  * 页面加载完成时的回调。
101
101
  * @supported weapp, h5
102
102
  */
103
- useLoad(callback: () => void): void
103
+ useLoad<T extends {} = Record<string, any>>(callback: (param: T) => void): void
104
104
 
105
105
  /**
106
106
  * 页面卸载时的回调。