mini-effect
    Preparing search index...

    Interface MimeTypeIssue<TInput$1, TRequirement>

    MIME type issue interface.

    interface MimeTypeIssue<TInput$1 extends Blob, TRequirement extends Requirement> {
        abortEarly?: boolean;
        abortPipeEarly?: boolean;
        expected: string;
        input: TInput$1;
        issues?: [BaseIssue<TInput$1>, ...BaseIssue<TInput$1>[]];
        kind: "validation";
        lang?: string;
        message: string;
        path?: [IssuePathItem, ...IssuePathItem[]];
        received: `"${string}"`;
        requirement: TRequirement;
        type: "mime_type";
    }

    Type Parameters

    • TInput$1 extends Blob
    • TRequirement extends Requirement

    Hierarchy (View Summary)

    Index

    Properties

    abortEarly?: boolean

    Whether it should be aborted early.

    abortPipeEarly?: boolean

    Whether a pipe should be aborted early.

    expected: string

    The expected input.

    input: TInput$1

    The raw input data.

    The sub issues.

    kind: "validation"

    The issue kind.

    lang?: string

    The selected language.

    message: string

    The error message.

    The issue path.

    received: `"${string}"`

    The received input.

    requirement: TRequirement

    The MIME types.

    type: "mime_type"

    The issue type.