diff --git a/typescript/base/foundation/message.ts b/typescript/base/foundation/message.ts index b30aad417..ad0e7bac0 100644 --- a/typescript/base/foundation/message.ts +++ b/typescript/base/foundation/message.ts @@ -9,5 +9,5 @@ export type _msg = { alert: (title: string, message?: string | { [key: string]: any }, callback?: (result?: boolean) => void) => void confirm: (title: string, message?: string | { [key: string]: any }, callback?: (result: boolean) => void) => void prompt: (title: string, message?: string, value?: any, callback?: (result: string) => void, minWidth?: number) => void - toast: (message: string | Obj, options?: toastOptions | string, context?: HTMLElement) => void + toast: (message: string | Obj, options?: toastOptions | string, context?: HTMLElement) => Function }