Skip to content

Commit

Permalink
fix: export type ReactSweetAlertOptions (closes #208)
Browse files Browse the repository at this point in the history
  • Loading branch information
limonte committed Aug 17, 2022
1 parent df23452 commit b3564da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sweetalert2-react-content.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ interface ReactSweetAlert {

type SweetAlert2 = typeof swal

type ReactSweetAlertOptions = Overwrite<SweetAlertOptions, ReactOptions>
export type ReactSweetAlertOptions = Overwrite<SweetAlertOptions, ReactOptions>

type ReactElementOr<K extends keyof SweetAlertOptions> = SweetAlertOptions[K] | ReactElement<any>

Expand Down

0 comments on commit b3564da

Please sign in to comment.