Skip to content

Commit

Permalink
✨ add IonAlertDismiss type #108
Browse files Browse the repository at this point in the history
  • Loading branch information
trydofor committed Dec 6, 2024
1 parent d1d829e commit bc407af
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/tough-buckets-exercise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@fessional/razor-mobile": patch
"@fessional/razor-common": patch
---

✨ add IonAlertDismiss type #108
6 changes: 6 additions & 0 deletions layers/mobile/types/ionic-types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import type { OverlayEventDetail } from '@ionic/core';

/**
* https://ionicframework.com/docs/api/alert#events
*/
export type IonAlertDismiss<T> = CustomEvent<OverlayEventDetail<{ values: T }>>;

0 comments on commit bc407af

Please sign in to comment.