fix lint errors about use of console and new() cache

This commit is contained in:
Hazelnoot 2025-10-02 14:05:59 -04:00
parent 6c2206ab72
commit deff0c0f49
5 changed files with 34 additions and 16 deletions

View file

@ -19,6 +19,9 @@ import { DI } from '@/di-symbols.js';
import { TimeService } from '@/core/TimeService.js';
import { InternalEventService } from '@/core/InternalEventService.js';
// This is the one place that's *supposed* to new() up caches.
/* eslint-disable no-restricted-syntax */
export type ManagedMemoryKVCache<T> = Managed<MemoryKVCache<T>>;
export type ManagedMemorySingleCache<T> = Managed<MemorySingleCache<T>>;
export type ManagedRedisKVCache<T> = Managed<RedisKVCache<T>>;