Interface EmptySchema

a schema that validates anything

interface EmptySchema {
    metadata?: unknown;
    nullable?: boolean;
}

Properties

Properties

metadata?: unknown

optional metadata on a schema

nullable?: boolean

a key indicating if a type can be null