import { record } from "https://deno.land/x/valita@v0.3.3/mod.ts";
Create a validator for a record type Record<string, T>
,
where T
is the output type of the given subvalidator.
Type Parameters
T extends Type
Parameters
optional
valueType: Timport { record } from "https://deno.land/x/valita@v0.3.3/mod.ts";
Create a validator for a record type Record<string, T>
,
where T
is the output type of the given subvalidator.