UNPKG

@antdv/pro-utils

Version:

@antdv/pro-utils

5 lines (4 loc) 264 B
import type { MaybeRefOrGetter } from './interface'; export declare function promiseTimeout(ms: number, throwOnTimeout?: boolean, reason?: string): Promise<void>; export declare function noop(): void; export declare function toValue<T>(r: MaybeRefOrGetter<T>): T;