Module

x/jtd_type/mod.ts>Static

A Novel implementation of JTD (RFC 8927) in typescript
Latest
type alias Static
import { type Static } from "https://dotland.deno.dev/x/jtd_type@2.2.0/mod.ts";

Type Parameters

T extends JtdSchema | undefined
definition: T extends JtdSchema ? (T extends { nullable: true; } ? null : never) | (T extends JtdEmpty ? StaticEmpty<T> : T extends JtdRef ? StaticRef<T> : T extends JtdType ? StaticType<T> : T extends JtdEnum ? StaticEnum<T> : T extends JtdProperties ? StaticProperties<T> : T extends JtdDiscriminator ? StaticDiscriminator<T> : T extends JtdValues ? StaticValues<T> : T extends JtdElements ? StaticElements<T> : Invalid<"Unsupported Schema Type", T>) : undefined
import Static
import { Static } from "https://dotland.deno.dev/x/jtd_type@2.2.0/mod.ts";