template-project/node_modules/exiftool-vendored/dist/IsWarning.d.ts
2025-05-30 18:13:30 +08:00

11 lines
368 B
TypeScript

import { Maybe } from "./Maybe";
export interface IgnorableError {
(err: Maybe<Error | string>): boolean;
}
/**
* This is the default implementation of IgnorableError, and ignores null,
* undefined, errors without a message, warnings about duplicate tags, and
* ICC_Profile deletions.
*/
export declare function isWarning(err: Maybe<Error | string>): boolean;