Skip to main content
Module

x/fun/record.ts>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 TypeOf
import { type TypeOf } from "https://deno.land/x/fun@v2.0.0/record.ts";

Extract the inner type of a ReadonlyRecord

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