From 3c83d443083cbd3dbdb80a557fa0e11c62144b67 Mon Sep 17 00:00:00 2001 From: Limon Monte Date: Wed, 17 Aug 2022 18:40:01 +0300 Subject: [PATCH] fix: export type ReactSweetAlertOptions (closes #208) --- src/sweetalert2-react-content.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sweetalert2-react-content.d.ts b/src/sweetalert2-react-content.d.ts index e1e29cc..feeb3b4 100644 --- a/src/sweetalert2-react-content.d.ts +++ b/src/sweetalert2-react-content.d.ts @@ -34,7 +34,7 @@ interface ReactSweetAlert { type SweetAlert2 = typeof swal -type ReactSweetAlertOptions = Overwrite +export type ReactSweetAlertOptions = Overwrite type ReactElementOr = SweetAlertOptions[K] | ReactElement