import { lazy } from "https://deno.land/x/valita@v0.3.3/mod.ts";
Create a validator that can reference itself, directly or indirectly.
In most cases an explicit type annotation is also needed, as TypeScript cannot infer return types of recursive functions.