fixed some lint issues

This commit is contained in:
Boki 2025-06-26 16:11:58 -04:00
parent 8680b6ec20
commit a700818a06
15 changed files with 1574 additions and 1319 deletions

View file

@ -14,7 +14,7 @@ export class NamespacedCache implements CacheProvider {
this.prefix = `${namespace}:`;
}
async get<T = any>(key: string): Promise<T | null> {
async get<T = unknown>(key: string): Promise<T | null> {
return this.cache.get(`${this.prefix}${key}`);
}
@ -77,7 +77,7 @@ export class NamespacedCache implements CacheProvider {
export class CacheAdapter implements CacheProvider {
constructor(private readonly cache: ICache) {}
async get<T = any>(key: string): Promise<T | null> {
async get<T = unknown>(key: string): Promise<T | null> {
return this.cache.get(key);
}