UNPKG

@itrocks/lazy-loading

Version:

Integrates lazy loading for objects and collections in TypeScript classes

8 lines (7 loc) 351 B
import { Type } from '@itrocks/class-type'; export declare const PROTECT_GET: unique symbol; export type PropertyDescriptorWithProtectGet = PropertyDescriptor & ThisType<any> & { [PROTECT_GET]?: true; }; export declare function initClass<T extends object>(classType: Type<T>): Type<T> | undefined; export declare function initLazyLoading(): void;