@martinmilo/verve
Version:
TypeScript domain modeling library with field-level authorization, business rule validation, and context-aware access control
5 lines • 431 B
TypeScript
import type { FieldGenerator, LazyFieldGenerator } from "../core/types";
export declare function isLazyFieldGenerator<T = any>(v: () => T | LazyFieldGenerator<T>): v is LazyFieldGenerator<T>;
export declare function isEagerFieldGenerator<T = any>(v: () => T | LazyFieldGenerator<T>): v is FieldGenerator<T>;
export declare function toLazyFieldGenerator<T>(v: () => T): LazyFieldGenerator<T>;
//# sourceMappingURL=generator.d.ts.map