(message: string, options?: AskOptions)
| 47 | } |
| 48 | |
| 49 | export async function ask(message: string, options?: AskOptions): Promise<boolean> { |
| 50 | if (isTauri()) return tauriAsk(message, options); |
| 51 | return window.confirm(message); |
| 52 | } |
| 53 | |
| 54 | export async function notify(message: string, options?: MessageOptions): Promise<void> { |
| 55 | if (isTauri()) await tauriMessage(message, options); |
no test coverage detected