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

9 lines
382 B
TypeScript

import { LicenseSpec, Options as MainOptions } from ".";
import { PrettyVError as PrettyVError } from "./util/format-verror";
export declare class BadJSONLicenseSpecError extends PrettyVError {
}
export default function specFromJSON(spec: string | object, options?: FromJSONOptions): LicenseSpec;
export interface FromJSONOptions extends MainOptions {
specSourceURL?: string;
}