source: trip-planner-front/node_modules/license-webpack-plugin/dist/LicenseTextReader.d.ts@ 1ad8e64

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

initial commit

  • Property mode set to 100644
File size: 986 bytes
Line 
1import { LicenseTextOverrides } from './LicenseTextOverrides';
2import { FileSystem } from './FileSystem';
3import { Module } from './Module';
4import { LicenseFileOverrides } from './LicenseFilesOverrides';
5import { WebpackCompilation } from './WebpackCompilation';
6import { Logger } from './Logger';
7declare class LicenseTextReader {
8 private logger;
9 private fileSystem;
10 private fileOverrides;
11 private textOverrides;
12 private templateDir;
13 private handleMissingLicenseText;
14 constructor(logger: Logger, fileSystem: FileSystem, fileOverrides: LicenseFileOverrides, textOverrides: LicenseTextOverrides, templateDir: string | undefined, handleMissingLicenseText: (packageName: string, licenseType: string | null) => string | null);
15 readLicense(compilation: WebpackCompilation, module: Module, licenseType: string | null): string | null;
16 readText(directory: string, filename: string): string;
17 private guessLicenseFilename;
18}
19export { LicenseTextReader };
Note: See TracBrowser for help on using the repository browser.