Deprecated
Use SafeUnknown
instead of validators
import { type ObjectDescriptor } from "https://deno.land/x/dtils@2.6.0/mod.unstable.ts";
Properties
optional
keys: { [key: string]: JsonDescriptor; }Either keys
or valueType
must be specified
optional
valueType: JsonDescriptorThe key can be anything, but the value must match this.
Either keys
or valueType
must be specified