diff --git a/typescript/base/foundation/message.ts b/typescript/base/foundation/message.ts new file mode 100644 index 000000000..40aae2129 --- /dev/null +++ b/typescript/base/foundation/message.ts @@ -0,0 +1,6 @@ +export type _msg = { + alert: (title: string, message?: string, callback?: (result?: boolean)=>void) => void + confirm: (title: string, message?: string, callback?: (result: boolean)=>void) => void + prompt: (title: string, message?: string, value?: any, callback?: (result: string) => void, min_width?: number) => void + toast: (message: string, options?: object, context?: HTMLElement ) => void +} \ No newline at end of file