chore: sync with main

This commit is contained in:
Liam DeBeasi
2024-02-07 11:48:46 -05:00
167 changed files with 1120 additions and 841 deletions

View File

@ -1,4 +1,4 @@
import type { AnimationBuilder, Color, Mode } from '../../interface';
import type { AnimationBuilder, Color, LiteralUnion, Mode } from '../../interface';
import type { IonicSafeString } from '../../utils/sanitization';
export interface ToastOptions {
@ -31,8 +31,7 @@ export interface ToastButton {
text?: string;
icon?: string;
side?: 'start' | 'end';
role?: 'cancel' | string;
role?: LiteralUnion<'cancel', string>;
htmlAttributes?: { [key: string]: any };
handler?: () => boolean | void | Promise<boolean | void>;
}