Skip to content

Commit f5d7a67

Browse files
committed
style: eslint --fix
1 parent 01d9858 commit f5d7a67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default function memoize<A extends unknown[], R extends unknown, T extend
2929
if (cache.has(id)) return cache.get(id)
3030
const result = fn.apply(this, args)
3131
if (result instanceof Promise) {
32-
result.catch((error) => {
32+
result.catch(error => {
3333
cache.delete(id)
3434
throw error
3535
})

0 commit comments

Comments
 (0)