mimicry-js
Version:
TS library for generating fake data for tests
10 lines • 331 B
TypeScript
declare const FixedValueBrand: unique symbol;
export declare class FixedValue<V> {
[FixedValueBrand]: void;
value: V;
constructor(fn: V);
}
export declare function fixed<V>(fn: V): FixedValue<V>;
export declare function isFixedValue<T>(value: any): value is FixedValue<T>;
export {};
//# sourceMappingURL=fixed.d.ts.map