n8n
Version:
n8n Workflow Automation Tool
11 lines (10 loc) • 364 B
TypeScript
import type { MemoryCache } from 'cache-manager';
import type { RedisCache } from '../../services/cache/redis.cache-manager';
export type TaggedRedisCache = RedisCache & {
kind: 'redis';
};
export type TaggedMemoryCache = MemoryCache & {
kind: 'memory';
};
export type Hash<T = unknown> = Record<string, T>;
export type MaybeHash<T> = Hash<T> | undefined;