UNPKG

ag-grid-quick-filter

Version:

A function rich all select that supports multiple data sources and integrates with ag-grid

14 lines (13 loc) 452 B
import { OptionType } from '../types/optionType'; type CacheEntry = { created: Date; items: OptionType[]; }; export interface Cache { itemCache: Map<string, CacheEntry>; getCachedItems: (text: string) => OptionType[] | undefined; cacheItems: (text: string, items: OptionType[]) => void; dispose: () => void; } export declare const createCache: (id: string, timeToLive?: number, delay?: number) => Cache; export {};