diff --git a/biome.json b/biome.json index c438c08a3..02a0d41fc 100644 --- a/biome.json +++ b/biome.json @@ -44,7 +44,6 @@ "complexity": { "noStaticOnlyClass": "off", "noForEach": "off", - "noBannedTypes": "off", "useLiteralKeys": "off" } } diff --git a/types/cache.interfaces.ts b/types/cache.interfaces.ts index c0cb650b8..dbdefbf1b 100644 --- a/types/cache.interfaces.ts +++ b/types/cache.interfaces.ts @@ -36,6 +36,6 @@ export type CacheableValue = | boolean | undefined | null - | Function + | ((...args: any) => any) | {[x: string]: CacheableValue} | Array;