Files
2026-02-05 15:27:49 +08:00

7 lines
205 B
TypeScript

export default function withStatusLogs<T>(messageAndOptions: string | {
loading: string;
success?: string;
fail?: string;
disableLogs?: boolean;
}, callback: () => Promise<T>): Promise<T>;