Commit 77a67f5d3fe0cf3b16206da17e713ba36fbd082c
Merge branch '2.0' of https://github.com/iview/iview into 2.0
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
types/drawer.d.ts
| @@ -75,7 +75,7 @@ export declare interface Drawer extends Vue { | @@ -75,7 +75,7 @@ export declare interface Drawer extends Vue { | ||
| 75 | /** | 75 | /** |
| 76 | * 返回 Promise 可以阻止关闭 | 76 | * 返回 Promise 可以阻止关闭 |
| 77 | */ | 77 | */ |
| 78 | - 'before-close'?: () => void | PromiseConstructor; | 78 | + 'before-close'?: () => void | Promise<any>; |
| 79 | /** | 79 | /** |
| 80 | * 关闭抽屉时触发 | 80 | * 关闭抽屉时触发 |
| 81 | */ | 81 | */ |