Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/typebox/src/typebox.ts>TIntrinsicTemplateLiteral

Json Schema Type Builder with Static Type Resolution for TypeScript
Go to Latest
type alias TIntrinsicTemplateLiteral
import { type TIntrinsicTemplateLiteral } from "https://deno.land/x/typebox@0.31.20/src/typebox.ts";
definition: M extends ("Lowercase" | "Uppercase") ? T extends [infer L, ...infer R] ? [TIntrinsic<AssertType<L>, M>, ...TIntrinsicTemplateLiteral<AssertRest<R>, M>] : T : M extends ("Capitalize" | "Uncapitalize") ? T extends [infer L, ...infer R] ? [TIntrinsic<AssertType<L>, M>, ...R] : T : T