@samatawy/checks
    Preparing search index...

    Interface CheckOptions

    Shared options used when appending a validation message.

    interface CheckOptions {
        hint?: string | string[];
        warn?: string | string[];
        err?: string | string[];
        code?: ResultCode;
        catalog?: IResultCatalog;
    }

    Hierarchy (View Summary)

    Index

    Properties

    hint?: string | string[]

    Custom hint message or messages to add when the check records a hint.

    warn?: string | string[]

    Custom warning message or messages to add when the check records a warning.

    err?: string | string[]

    Custom error message or messages to add when the check records an error.

    code?: ResultCode

    Optional code attached to the produced result.

    catalog?: IResultCatalog

    Catalog used to resolve result codes into localized messages.