This commit is contained in:
2026-08-14 16:03:47 +01:00
parent fd53e3f4fb
commit dfdc3b2840
2463 changed files with 186456 additions and 111315 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import { type Minipass } from 'minipass';
/** has a warn method */
export type Warner = {
warn(code: string, message: string | Error, data: any): void;
warn(code: string, message: string | Error, data: unknown): void;
file?: string;
cwd?: string;
strict?: boolean;
@@ -17,7 +17,7 @@ export type WarnData = {
code?: string;
tarCode?: string;
recoverable?: boolean;
[k: string]: any;
[k: string]: unknown;
};
export type TarError = Error & WarnData;
export declare const warnMethod: (self: Warner, code: string, message: string | Error, data?: WarnData) => void;