UNPKG

typed-utilities

Version:
3 lines (2 loc) 169 B
export declare const tap: <T>(effect: (t: T) => unknown) => (t: T) => T; export declare const tapAsync: <T>(effect: (t: T) => Promise<unknown>) => (t: T) => Promise<T>;