NeahNew/node_modules/dmg-license/lib/Context.d.ts
2025-05-06 22:43:27 +02:00

12 lines
423 B
TypeScript

import { Options } from ".";
import { ErrorBuffer } from "./util/errors";
export default class Context {
options: Options;
static from(contextOrOptions: Context | Options): Context;
constructor(options: Options);
resolvePath(path: string): string;
nonFatalError(error: Error, errorBuffer?: ErrorBuffer): void;
warning(error: Error, errorBuffer?: ErrorBuffer): void;
readonly canWarn: boolean;
}