type alias Inferimport { type Infer } from "https://deno.land/x/valita@v0.3.6/mod.ts"; Return the inferred output type of a validator. ExamplesExample 1 const t = v.union(v.literal(1), v.string()); type T = v.Infer<typeof t>; // type T = 1 | string; Type ParametersT extends AbstractTypedefinition: T extends AbstractType<infer I> ? I : never