tar
    Preparing search index...

    Type Alias WarnOptions

    The options that warn reads.

    type WarnOptions = {
        file?: string;
        onwarn?: (code: string, message: string, data: WarnData) => unknown;
        strict?: boolean;
    }
    Index

    Properties

    Properties

    file?: string

    The archive file. Each warning has it as data.file.

    onwarn?: (code: string, message: string, data: WarnData) => unknown

    Called for each warning when strict is not set.

    strict?: boolean

    Throw each warning as an error.