UNPKG

pragmatic-fp-ts

Version:

Opinionated functional programming library with easy use in mind

6 lines (5 loc) 239 B
import { Dictionary, SelectorPath } from "./main"; type Input = Dictionary | any[]; export declare function prop<A>(path: SelectorPath, input: Input): A; export declare function prop<A>(path: SelectorPath): (input: Input) => A; export {};