Skip to main content
Module

x/fun/kind.ts>Spread

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Go to Latest
type alias Spread
import { type Spread } from "https://deno.land/x/fun@v2.0.0-alpha.12/kind.ts";

Spread the keys of a struct union into a single struct.

definition: [K in keyof A]: A[K] extends infer B ? B : never