@amaui/cache
Version:
22 lines (21 loc) • 578 B
TypeScript
export interface IOptions {
value?: {
copy?: boolean;
};
add?: {
override?: boolean;
};
}
declare class AmauiCache {
static caches: {};
private static options_;
static get options(): IOptions;
static set options(value: IOptions);
static add(value: any, ...args: any[]): void;
static update(value: any, ...args: any[]): any | undefined;
static get(...args: any[]): undefined | any;
static has(...args: any[]): boolean;
static remove(...args: any[]): void;
static reset(): void;
}
export default AmauiCache;