UNPKG

242 BTypeScriptView Raw
1import { CacheFactory, Cache } from '@fimbul/ymir';
2export declare class DefaultCacheFactory implements CacheFactory {
3 create<K extends object, V = any>(weak: true): Cache<K, V>;
4 create<K = any, V = any>(weak?: false): Cache<K, V>;
5}