formacao
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user