Commit 72b5eafe4d339dd6550c6a8bf9d26c990b419389

Authored by Aresn
Committed by GitHub
2 parents 7435abb0 e9384960

Merge pull request #5578 from 2lei/2.0

fix promise types error
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 75 /**
76 76 * 返回 Promise 可以阻止关闭
77 77 */
78   - 'before-close'?: () => void | PromiseConstructor;
  78 + 'before-close'?: () => void | Promise<any>;
79 79 /**
80 80 * 关闭抽屉时触发
81 81 */
... ...