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

x/typebox/src/typebox.ts>Trim

Json Schema Type Builder with Static Type Resolution for TypeScript
Go to Latest
type alias Trim
import { type Trim } from "https://deno.land/x/typebox@0.31.20/src/typebox.ts";
definition: T extends `${" "}${infer U}` ? Trim<U> : T extends `${infer U}${" "}` ? Trim<U> : T