Skip to main content
Module

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

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

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