Icard/angular-clarity-master(work.../node_modules/license-webpack-plugin/dist/PluginModuleCache.d.ts

15 lines
688 B
TypeScript
Raw Normal View History

2024-07-16 14:55:36 +00:00
import { ModuleCache } from './ModuleCache';
import { LicenseIdentifiedModule } from './LicenseIdentifiedModule';
declare class PluginModuleCache implements ModuleCache {
private totalCache;
private chunkCache;
private chunkSeenCache;
registerModule(chunkName: string, module: LicenseIdentifiedModule): void;
getModule(packageName: string): LicenseIdentifiedModule | null;
markSeenForChunk(chunkName: string, packageName: string): void;
alreadySeenForChunk(chunkName: string, packageName: string): boolean;
getAllModulesForChunk(chunkName: string): LicenseIdentifiedModule[];
getAllModules(): LicenseIdentifiedModule[];
}
export { PluginModuleCache };