[bugfix] Dialog: type define error (#918)

This commit is contained in:
neverland
2018-04-24 07:26:28 +08:00
committed by GitHub
parent ba6c9716ce
commit 5d5e192d59

2
types/dialog.d.ts vendored
View File

@@ -3,7 +3,7 @@ export type DialogOptions = {
message?: string;
overlay?: boolean;
lockScroll?: boolean;
beforeClose?: (action: string, done: function) => void;
beforeClose?: (action: string, done: Function) => void;
confirmButtonText?: string;
cancelButtonText?: string;
showConfirmButton?: boolean;