Skip to content

Commit 0bcf061

Browse files
committed
fix: update modal ts
1 parent b14ae3d commit 0bcf061

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

types/modal.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,12 @@ export declare class Modal extends AntdComponent {
280280
* @type number
281281
*/
282282
zIndex: number;
283+
284+
static info(options: ModalOptions): ModalConfirm;
285+
static success(options: ModalOptions): ModalConfirm;
286+
static error(options: ModalOptions): ModalConfirm;
287+
static warning(options: ModalOptions): ModalConfirm;
288+
static confirm(options: ModalOptions): ModalConfirm;
283289
}
284290

285291
declare module 'vue/types/vue' {

0 commit comments

Comments
 (0)