aboutsummaryrefslogtreecommitdiff
path: root/types/lru-cache
diff options
context:
space:
mode:
Diffstat (limited to 'types/lru-cache')
-rw-r--r--types/lru-cache/index.d.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/types/lru-cache/index.d.ts b/types/lru-cache/index.d.ts
index 1f1f2b7..8fece23 100644
--- a/types/lru-cache/index.d.ts
+++ b/types/lru-cache/index.d.ts
@@ -5,6 +5,8 @@ declare module 'lru-cache' {
has(key: K): boolean;
get(key: K): V;
set(key: K, val: V);
+ dump(): {k: K, v: V, e: number}[];
+ load(arr: {k: K, v: V, e: number}[]);
}
export = LRUCache;
}