@authup/client-web-kit
Version:
This package contains vue components.
6 lines • 312 B
TypeScript
import type { Ref } from 'vue';
type Fn = (...args: any[]) => Promise<void>;
type OutputFn<ARGS extends unknown[]> = (...args: ARGS) => Promise<void>;
export declare function wrapFnWithBusyState<T extends Fn = Fn>(busy: Ref<boolean>, fn: T): OutputFn<Parameters<T>>;
export {};
//# sourceMappingURL=busy.d.ts.map