UNPKG

observation-js

Version:

A fully-typed TypeScript client for the waarneming.nl API.

9 lines (8 loc) 275 B
import type { CacheStore } from '../types'; export declare class InMemoryCache implements CacheStore { #private; get<T>(key: string): T | undefined; set<T>(key: string, value: T, ttl: number): void; delete(key: string): void; has(key: string): boolean; }