File size: 382 Bytes
e4a10af |
1 2 3 4 5 6 7 8 9 |
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;
}
|