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

x/valibot/src/schemas/index.ts>RecursiveSchema

The modular and type safe schema library for validating structural data 🤖
Go to Latest
type alias RecursiveSchema
import { type RecursiveSchema } from "https://deno.land/x/valibot@v0.19.0/src/schemas/index.ts";

Recursive schema type.

Type Parameters

TSchemaGetter extends () => BaseSchema
optional
TOutput = Output<ReturnType<TSchemaGetter>>
definition: BaseSchema<Input<ReturnType<TSchemaGetter>>, TOutput> & { schema: "recursive"; getter: TSchemaGetter; }