fix promise types error
This commit is contained in:
parent
90399f8494
commit
e938496011
1 changed files with 1 additions and 1 deletions
2
types/drawer.d.ts
vendored
2
types/drawer.d.ts
vendored
|
@ -75,7 +75,7 @@ export declare interface Drawer extends Vue {
|
|||
/**
|
||||
* 返回 Promise 可以阻止关闭
|
||||
*/
|
||||
'before-close'?: () => void | PromiseConstructor;
|
||||
'before-close'?: () => void | Promise<any>;
|
||||
/**
|
||||
* 关闭抽屉时触发
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue