Skip to main content
Module

x/fun/json_schema.ts>TypeOf

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

Given a JsonBuilder this type will extract T for use in type level programming.

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