sweetalert2 11.26.2 → 11.26.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/sweetalert2.d.ts CHANGED
@@ -322,14 +322,14 @@ declare module 'sweetalert2' {
322
322
  function argsToParams(params: SweetAlertArrayOptions | readonly [SweetAlertOptions]): SweetAlertOptions
323
323
 
324
324
  /**
325
- * An enum of possible reasons that can explain an alert dismissal.
326
- */
327
- enum DismissReason {
328
- cancel,
329
- backdrop,
330
- close,
331
- esc,
332
- timer,
325
+ * An object of possible reasons that can explain an alert dismissal.
326
+ */
327
+ const DismissReason: {
328
+ readonly cancel: 'cancel'
329
+ readonly backdrop: 'backdrop'
330
+ readonly close: 'close'
331
+ readonly esc: 'esc'
332
+ readonly timer: 'timer'
333
333
  }
334
334
 
335
335
  /**