You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
723 B

2 years ago
import { Compiler } from 'webpack';
interface FilesChange {
changedFiles?: string[];
deletedFiles?: string[];
}
declare function getFilesChange(compiler: Compiler): FilesChange;
declare function updateFilesChange(compiler: Compiler, change: FilesChange): void;
declare function clearFilesChange(compiler: Compiler): void;
/**
* Computes aggregated files change based on the subsequent files changes.
*
* @param changes List of subsequent files changes
* @returns Files change that represents all subsequent changes as a one event
*/
declare function aggregateFilesChanges(changes: FilesChange[]): FilesChange;
export { FilesChange, getFilesChange, updateFilesChange, clearFilesChange, aggregateFilesChanges };