UNPKG

subflow

Version:

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

5 lines (4 loc) 284 B
import { Flow, Methods } from '../types/core'; import { StringFlowMethods } from '../types/flows'; export declare const stringMethods: StringFlowMethods; export declare const stringFlow: <M extends Methods<string>>(value: string, methods?: M) => Flow<string> & M & StringFlowMethods;