Fix types

This commit is contained in:
Adria Navarro 2024-03-01 11:12:31 +01:00
parent 8611fade5e
commit 1c17121568
1 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,8 @@ export const store = (...args: Parameters<typeof GENERIC.store>) =>
GENERIC.store(...args) GENERIC.store(...args)
export const destroy = (...args: Parameters<typeof GENERIC.delete>) => export const destroy = (...args: Parameters<typeof GENERIC.delete>) =>
GENERIC.delete(...args) GENERIC.delete(...args)
export const withCache = (...args: Parameters<typeof GENERIC.withCache>) => export const withCache = <T>(
GENERIC.withCache(...args) ...args: Parameters<typeof GENERIC.withCache<T>>
) => GENERIC.withCache(...args)
export const bustCache = (...args: Parameters<typeof GENERIC.bustCache>) => export const bustCache = (...args: Parameters<typeof GENERIC.bustCache>) =>
GENERIC.bustCache(...args) GENERIC.bustCache(...args)