Skip to content

Commit

Permalink
fix: update modal ts
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Feb 21, 2019
1 parent b14ae3d commit 0bcf061
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions types/modal.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,12 @@ export declare class Modal extends AntdComponent {
* @type number
*/
zIndex: number;

static info(options: ModalOptions): ModalConfirm;
static success(options: ModalOptions): ModalConfirm;
static error(options: ModalOptions): ModalConfirm;
static warning(options: ModalOptions): ModalConfirm;
static confirm(options: ModalOptions): ModalConfirm;
}

declare module 'vue/types/vue' {
Expand Down

0 comments on commit 0bcf061

Please sign in to comment.