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

BindTo

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

The return type for the createBindTo function on Mappable. Useful to reduce type inference in documentation.

type BindTo<U extends Kind> = <N extends string>(name: N) => <A, B = never, C = never, D = unknown, E = unknown>(ua: $<U, [A, B, C], [D], [E]>) => $<U, [readonly [K in N]: A, B, C], [D], [E]>;

§Type Parameters

§
U extends Kind
[src]

§Type

§
<N extends string>(name: N) => <A, B = never, C = never, D = unknown, E = unknown>(ua: $<U, [A, B, C], [D], [E]>) => $<U, [readonly [K in N]: A, B, C], [D], [E]>
[src]