-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobal.d.ts
More file actions
25 lines (21 loc) · 1.12 KB
/
global.d.ts
File metadata and controls
25 lines (21 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// declare module "@fontsource/poppins"
declare module "*.css"
declare module "*.png"
declare module "*.jpg"
declare module "*.jpeg"
declare module "*.svg"
declare const __APP_VERSION__: string
declare module "@react-native-async-storage/async-storage" {
export default AsyncStorage
}
declare global {
interface GlobalToastMethods {
info: (message: string, title?: string, options?: Partial<import('@/components/ui/toast/toast-provider').ToastOptions>) => void
success: (message: string, title?: string, options?: Partial<import('@/components/ui/toast/toast-provider').ToastOptions>) => void
error: (message: string, title?: string, options?: Partial<import('@/components/ui/toast/toast-provider').ToastOptions>) => void
warning: (message: string, title?: string, options?: Partial<import('@/components/ui/toast/toast-provider').ToastOptions>) => void
confirm: (message: string, onConfirm: () => void, options?: Partial<import('@/components/ui/toast/toast-provider').ToastOptions>) => void
show: (options: import('@/components/ui/toast/toast-provider').ToastOptions) => void
}
var Toast: GlobalToastMethods
}