interface-forge - v2.5.0
    Preparing search index...

    Interface $ZodIssueInvalidType<Input>

    interface $ZodIssueInvalidType<Input = unknown> {
        code: "invalid_type";
        expected:
            | "string"
            | "number"
            | "bigint"
            | "boolean"
            | "symbol"
            | "undefined"
            | "object"
            | "map"
            | "custom"
            | "transform"
            | "default"
            | "optional"
            | "catch"
            | "date"
            | "int"
            | "null"
            | "void"
            | "never"
            | "any"
            | "unknown"
            | "record"
            | "file"
            | "array"
            | "tuple"
            | "union"
            | "intersection"
            | "set"
            | "enum"
            | "literal"
            | "nullable"
            | "nonoptional"
            | "success"
            | "prefault"
            | "nan"
            | "pipe"
            | "readonly"
            | "template_literal"
            | "promise"
            | "lazy";
        input: Input;
        message: string;
        path: PropertyKey[];
    }

    Type Parameters

    • Input = unknown

    Hierarchy (View Summary)

    Index

    Properties

    code: "invalid_type"
    expected:
        | "string"
        | "number"
        | "bigint"
        | "boolean"
        | "symbol"
        | "undefined"
        | "object"
        | "map"
        | "custom"
        | "transform"
        | "default"
        | "optional"
        | "catch"
        | "date"
        | "int"
        | "null"
        | "void"
        | "never"
        | "any"
        | "unknown"
        | "record"
        | "file"
        | "array"
        | "tuple"
        | "union"
        | "intersection"
        | "set"
        | "enum"
        | "literal"
        | "nullable"
        | "nonoptional"
        | "success"
        | "prefault"
        | "nan"
        | "pipe"
        | "readonly"
        | "template_literal"
        | "promise"
        | "lazy"
    input: Input
    message: string
    path: PropertyKey[]