tar
    Preparing search index...

    Type Alias Warner

    has a warn method

    type Warner = {
        cwd?: string;
        file?: string;
        strict?: boolean;
        emit(event: "warn", code: string, message: string, data?: WarnData): void;
        emit(event: "error", error: TarError): void;
        warn(code: string, message: string | Error, data: any): void;
    }

    Implemented by

    Index

    Properties

    Methods

    Properties

    cwd?: string
    file?: string
    strict?: boolean

    Methods

    • Parameters

      • code: string
      • message: string | Error
      • data: any

      Returns void