Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Sep 24, 2022
1 parent 202c550 commit 5e768af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/utils/src/global-lru-cache.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { lru } from 'tiny-lru';
import { lru, LRU } from 'tiny-lru';

export type LRUCache = ReturnType<typeof lru>;
export type LRUCache = LRU<any>;

export function createLruCache(max?: number, ttl?: number): LRUCache {
return lru(max, ttl);
Expand Down

0 comments on commit 5e768af

Please sign in to comment.