NET-Web-API-w-Angular/my-app/node_modules/license-webpack-plugin/dist/PluginLicensePolicy.d.ts

15 lines
874 B
TypeScript
Raw Normal View History

2024-02-09 00:38:41 +00:00
import { LicensePolicy } from './LicensePolicy';
import { LicenseTestRunner } from './LicenseTestRunner';
declare class PluginLicensePolicy implements LicensePolicy {
private licenseTester;
private unacceptableLicenseTester;
private unacceptableLicenseHandler;
private missingLicenseTextHandler;
constructor(licenseTester: LicenseTestRunner, unacceptableLicenseTester: LicenseTestRunner, unacceptableLicenseHandler: (packageName: string, licenseType: string) => void, missingLicenseTextHandler: (packageName: string, licenseType: string) => void);
isLicenseWrittenFor(licenseType: string): boolean;
isLicenseUnacceptableFor(licenseType: string): boolean;
handleUnacceptableLicense(packageName: string, licenseType: string): void;
handleMissingLicenseText(packageName: string, licenseType: string): void;
}
export { PluginLicensePolicy };