UNPKG

@tmlmobilidade/utils

Version:

A collection of utility functions and helpers for the TML Mobilidade Go monorepo, providing common functionality for batching operations, caching, HTTP requests, object manipulation, permissions, and more.

9 lines (8 loc) 193 B
export declare class Cache<K, V> { private ttlMs; private store; constructor(ttlMs: number); delete(key: K): void; get(key: K): null | V; set(key: K, value: V): void; }