fix(core): update

This commit is contained in:
2022-06-26 20:36:22 +02:00
parent 1f80df6ec2
commit 0e11d0e760
13 changed files with 8503 additions and 9937 deletions

8
ts/00_commitinfo_data.ts Normal file
View File

@ -0,0 +1,8 @@
/**
* autocreated commitinfo by @pushrocks/commitinfo
*/
export const commitinfo = {
name: '@pushrocks/smartcache',
version: '1.0.15',
description: 'cache things in smart ways'
}

View File

@ -1 +1 @@
export * from './smartcache.classes.smartcache';
export * from './smartcache.classes.smartcache.js';

View File

@ -1,4 +1,4 @@
import * as plugins from './smartcache.plugins';
import * as plugins from './smartcache.plugins.js';
import { SmartError } from '@pushrocks/smarterror';
export interface ICacheMap {
@ -12,7 +12,7 @@ export interface ICacheMap {
export class CacheManager {
private _cacheMap: ICacheMap = {};
cacheExists(identifierArg): boolean {
cacheExists(identifierArg: string): boolean {
if (this._cacheMap[identifierArg]) {
return true;
}

View File

@ -1,5 +1,5 @@
import * as plugins from './smartcache.plugins';
import { CacheManager } from './smartcache.classes.cachemanager';
import * as plugins from './smartcache.plugins.js';
import { CacheManager } from './smartcache.classes.cachemanager.js';
export class SmartCache {
private _cacheManager = new CacheManager();