UNPKG

mobx-state-tree

Version:

Opinionated, transactional, MobX powered state container

11 lines (10 loc) 352 B
import { IAnyType } from "../../internal"; export declare function late<T extends IAnyType>(type: () => T): T; export declare function late<T extends IAnyType>(name: string, type: () => T): T; /** * Returns if a given value represents a late type. * * @param type * @returns */ export declare function isLateType(type: unknown): type is IAnyType;