Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Tap

import type { Tap } from "https://raw.githubusercontent.com/baetheus/fun/main/flatmappable.ts";

The return type for the createTap function on Flatmappable. Useful to reduce type inference in documentation.

type Tap<U extends Kind> = <A>(fn: (value: A) => void) => <B = never, C = never, D = unknown, E = unknown>(ua: $<U, [A, B, C], [D], [E]>) => $<U, [A, B, C], [D], [E]>;

§Type Parameters

§
U extends Kind
[src]

§Type

§
<A>(fn: (value: A) => void) => <B = never, C = never, D = unknown, E = unknown>(ua: $<U, [A, B, C], [D], [E]>) => $<U, [A, B, C], [D], [E]>
[src]