UNPKG

@n1k1t/unit-generator

Version:

Coverage based unit tests AI generator

17 lines 418 B
/** * @example * ```ts * const counter = buildCounter(5); * * counter() // 6 * counter() // 7 * counter(2) // 9 * ``` */ export declare const buildCounter: (initial?: number, step?: number) => (value?: number) => number; export declare const cast: <T>(value: T) => T; export declare const wait: (ms: number) => Promise<void> & { value: number; abort: () => void; }; //# sourceMappingURL=utils.d.ts.map