ParseFail
interface type-only low-levelDeclaration
export interface ParseFail {
ok: false;
/** Paths present in the document but unknown to the schema (would be discarded). */
dropped: string[];
/** Paths the schema requires but the document lacks. */
missing: string[];
/** Paths whose value does not match the schema's type. */
invalid: string[];
}Members (4)
ok
ok: falsedropped
dropped: string[]Paths present in the document but unknown to the schema (would be discarded).
missing
missing: string[]Paths the schema requires but the document lacks.
invalid
invalid: string[]Paths whose value does not match the schema's type.