UNPKG

@stencil/store

Version:

Store is a lightweight shared state library by the StencilJS core team. Implements a simple key/value map that efficiently re-renders components when necessary.

3 lines (2 loc) 216 B
export declare const appendToMap: <K, V>(map: Map<K, V[]>, propName: K, value: V) => void; export declare const debounce: <T extends (...args: any[]) => any>(fn: T, ms: number) => ((...args: Parameters<T>) => void);