Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.6/mod.ts";
const { TypeOf } = json_schema;

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

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