UNPKG

declarative-js

Version:

_declarative-js_ is modern JavaScript library, that helps to: - tackle array transformation with built in JavaScript array api (e.g. `array.filter(toBe.unique())`), - provide a type-level solution for representing optional values instead of null referen

6 lines (5 loc) 210 B
import { MethodMap } from './MethodMap'; export declare type JMapType<T> = MethodMap<T> & { storage: Record<string, T>; }; export declare const JMap: new <T>(init?: Record<string, T>) => MethodMap<T>;