(?='sync'
) sync/async (this depends on your implementation)
(?='multi'
) whether you want to take a list or multiple parameters
import {F} from 'ts-toolbelt'
/// If you are looking for creating types for `pipe`:
declare const pipe: F.Pipe
const a = (a1: number) => `${a1}`
const b = (b1: string) => [b1]
const c = (c1: string[]) => [c1]
pipe(a, b, c)(42)
/// And if you are looking for an async `pipe` type:
declare const pipe: F.Pipe<'async'>
const a = async (a1: number) => `${a1}`
const b = async (b1: string) => [b1]
const c = async (c1: string[]) => [c1]
await pipe(a, b, c)(42)
Pipe Functions together