source: trip-planner-front/node_modules/license-webpack-plugin/dist/PluginLicensePolicy.d.ts@ eed0bf8

Last change on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 874 bytes
Line 
1import { LicensePolicy } from './LicensePolicy';
2import { LicenseTestRunner } from './LicenseTestRunner';
3declare class PluginLicensePolicy implements LicensePolicy {
4 private licenseTester;
5 private unacceptableLicenseTester;
6 private unacceptableLicenseHandler;
7 private missingLicenseTextHandler;
8 constructor(licenseTester: LicenseTestRunner, unacceptableLicenseTester: LicenseTestRunner, unacceptableLicenseHandler: (packageName: string, licenseType: string) => void, missingLicenseTextHandler: (packageName: string, licenseType: string) => void);
9 isLicenseWrittenFor(licenseType: string): boolean;
10 isLicenseUnacceptableFor(licenseType: string): boolean;
11 handleUnacceptableLicense(packageName: string, licenseType: string): void;
12 handleMissingLicenseText(packageName: string, licenseType: string): void;
13}
14export { PluginLicensePolicy };
Note: See TracBrowser for help on using the repository browser.