UNPKG

362 BTypeScriptView Raw
1import { IAnyType } from "../../internal";
2export declare function late<T extends IAnyType>(type: () => T): T;
3export declare function late<T extends IAnyType>(name: string, type: () => T): T;
4/**
5 * Returns if a given value represents a late type.
6 *
7 * @param type
8 * @returns
9 */
10export declare function isLateType<IT extends IAnyType>(type: IT): type is IT;