fix(core): update

This commit is contained in:
2021-04-23 18:41:30 +00:00
parent d18f4b6928
commit 17b59fd222
14 changed files with 79 additions and 46 deletions

View File

@@ -10,7 +10,9 @@ export interface ICacheEntryConstructorOptions {
/**
* a CacheEntry
*/
export class CacheEntry extends plugins.smartjson.Smartjson implements ICacheEntryConstructorOptions {
export class CacheEntry
extends plugins.smartjson.Smartjson
implements ICacheEntryConstructorOptions {
public static fromStorageJsonString(storageJsonString: string) {
return new CacheEntry(plugins.smartjson.parse(storageJsonString));
}
@@ -23,7 +25,7 @@ export class CacheEntry extends plugins.smartjson.Smartjson implements ICacheEnt
@plugins.smartjson.foldDec()
public typeInfo: string;
@plugins.smartjson.foldDec()
contents: Buffer;