Skip to content

Commit

Permalink
Merge 91d64a0 into d989ead
Browse files Browse the repository at this point in the history
  • Loading branch information
limonte committed Jul 12, 2020
2 parents d989ead + 91d64a0 commit a990792
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/sweetalert2-react-content.d.ts
Expand Up @@ -22,9 +22,7 @@ export default function withReactContent(parentSwal?: SweetAlert2): SweetAlert2
interface ReactSweetAlert {
(title?: ReactElementOr<'title'>, message?: ReactElementOr<'html'>, icon?: SweetAlertIcon): Promise<SweetAlertResult>;

(options: ReactSweetAlertOptions & { useRejections?: false }): Promise<SweetAlertResult>;

(options: ReactSweetAlertOptions & { useRejections: true }): Promise<any>;
(options: ReactSweetAlertOptions): Promise<SweetAlertResult>;
}

type SweetAlert2 = typeof swal;
Expand Down

0 comments on commit a990792

Please sign in to comment.