Skip to content

Commit 4ee1d6a

Browse files
committed
ts ignore for now
1 parent 38ad07c commit 4ee1d6a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/shared/helpers/misc.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export function memoize<T extends () => Promise<unknown>>(
6262
const { maxAge, mechanism = 'max-age' } = options;
6363
let result: ReturnType<T>;
6464
let lastCall = 0;
65+
// @ts-expect-error TODO later
6566
return async () => {
6667
const lastResult = result;
6768
if (Date.now() - lastCall > maxAge) {

0 commit comments

Comments
 (0)