@dcloudio/uni-app-x 0.6.7 → 0.6.8

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.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "uni-app x types",
5
5
  "typings": "index.d.ts",
6
6
  "author": "DCloud",
@@ -71,20 +71,20 @@ export interface IPage {
71
71
  * 开启排版渲染
72
72
  * @param callback 首次排版回调监听器
73
73
  */
74
- startRender(callback?: () => void): void
74
+ startRender(callback?: (() => void) | null): void
75
75
  /**
76
76
  * 显示页面
77
77
  * @param options 显示配置项
78
78
  * @param callback 显示完毕监听器
79
79
  */
80
- show(options?: Map<String, any>, callback?: () => void): void
81
- hide(options?: Map<string, any>): void
80
+ show(options?: Map<String, any> | null, callback?: (() => void) | null): void
81
+ hide(options?: Map<string, any> | null): void
82
82
  /**
83
83
  * 关闭页面
84
84
  * @param options 关闭配置项
85
85
  * @param callback 关闭完毕监听器
86
86
  */
87
- close(options?: Map<String, any>, callback?: () => void): void
87
+ close(options?: Map<String, any> | null, callback?: (() => void) | null): void
88
88
  destroy(): void;
89
89
  updateStyle(style: Map<string, any>): void
90
90
  createDocument(documentData: INodeData): IDocument