UNPKG

thorish

Version:

This is a library of useful JS concepts and data structures for Node and the browser. It it, unashamedly, a dumping ground for code needed by [@samthor](https://twitter.com/samthor)'s projects.

9 lines (8 loc) 231 B
import { TransformMap } from './maps.js'; /** * Helper to create implicit counts of things. */ export declare class StatsCount<K = string> extends TransformMap<K, number> { constructor(); inc(k: K, by: number): number; }