12 lines
320 B
TypeScript
Raw Normal View History

2026-05-31 13:21:13 +02:00
declare class Cache<T> {
static readonly populatedBy: <T_1>(populate: () => T_1) => Cache<T_1>;
private readonly populate;
private value;
private constructor();
getValue(): T | undefined;
access(): T;
invalidate(): void;
}
export default Cache;
//# sourceMappingURL=Cache.d.ts.map