Type Alias ICacheLike<T>

ICacheLike<T>: {
    get(key: string): undefined | T;
    set(key: string, value: T): void;
} & ({
    del(key: string): void;
} | {
    delete(key: string): void;
})

Type Parameters

  • T