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 Nov 7, 2022
1 parent c37a574 commit 3c83d44
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 3c83d44

Please sign in to comment.