UNPKG

subflow

Version:

Safety your data flow in TypeScript with flow-based primitives.

5 lines (4 loc) 287 B
import { Flow, Methods } from '../types/core'; import { ObjectFlowMethods } from '../types/flows'; export declare const objectMethods: ObjectFlowMethods; export declare const objectFlow: <T extends object, M extends Methods<T>>(value: T, methods?: M) => Flow<T> & M & ObjectFlowMethods;