Files
NapCatQQ/.pnpm-store/v3/files/4e/db9ed10aa83d517d266ba78f420bd5a3b641fce39481c7b8915faaf84409350cdf010d1f0c5d85b48a2fc381dad646768db56a78893013b17342616b8d681a
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

4 lines
317 B
Plaintext

export declare const lazy: <T>(cb: () => T) => LazyValue<T>;
export type LazyValue<T> = () => Readonly<T>;
export declare function defineLazyProperty<ObjectType, PropertyNameType extends string, PropertyValueType>(object: ObjectType, propertyName: PropertyNameType, valueGetter: () => PropertyValueType): ObjectType;