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
9 lines (8 loc) • 509 B
TypeScript
import { MethodMap } from '../map/MethodMap';
import { StringMap } from '../types';
export declare function valid(key: string): string;
export declare const IMMUTABLE = "_immutable";
export declare const finalizeMap: <T>(map: MethodMap<T>) => MethodMap<T>;
export declare const finalizeObject: <T>(object: StringMap<T>) => StringMap<T>;
export declare const isLastElement: <T>(array: T[], index: number) => boolean;
export declare function onDuplacateDefaultFunction<K>(v1: K, v2: K, key: string): K | never;