Last change
on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1002 bytes
|
Line | |
---|
1 | import { LicenseTypeIdentifier } from './LicenseTypeIdentifier';
|
---|
2 | import { PackageJson } from './PackageJson';
|
---|
3 | import { LicenseTypeOverrides } from './LicenseTypeOverrides';
|
---|
4 | import { WebpackCompilation } from './WebpackCompilation';
|
---|
5 | import { Logger } from './Logger';
|
---|
6 | declare class PluginLicenseTypeIdentifier implements LicenseTypeIdentifier {
|
---|
7 | private logger;
|
---|
8 | private licenseTypeOverrides;
|
---|
9 | private preferredLicenseTypes;
|
---|
10 | private handleLicenseAmbiguity;
|
---|
11 | private handleMissingLicenseType;
|
---|
12 | constructor(logger: Logger, licenseTypeOverrides: LicenseTypeOverrides, preferredLicenseTypes: string[], handleLicenseAmbiguity: (packageName: string, licenses: {
|
---|
13 | type: string;
|
---|
14 | url: string;
|
---|
15 | }[]) => string, handleMissingLicenseType: (packageName: string) => string | null);
|
---|
16 | findLicenseIdentifier(compilation: WebpackCompilation, packageName: string, packageJson: PackageJson): string | null;
|
---|
17 | private findPreferredLicense;
|
---|
18 | }
|
---|
19 | export { PluginLicenseTypeIdentifier };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.