Skip to content

Type Alias: CacheOptions<T>

ts
type CacheOptions<T> = CacheManagerOptions & T;

Defined in: packages/cache/src/interfaces/cache-module.interface.ts:21

Cache options combining cache manager options with store-specific configuration.

Store-specific configuration takes precedence over cache module options due to how createCacheManager is implemented.

Type Parameters

Type ParameterDefault typeDescription
T extends StoreConfigRecordStoreConfigRecordStore-specific configuration type.

Released under the MIT License.