Skip to main content
Module

x/fun/mod.ts>set.TypeOf

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Latest
type alias set.TypeOf
import { type set } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { TypeOf } = set;

Extract the inner type of a ReadonlySet

definition: T extends ReadonlySet<infer A> ? A : never