source: trip-planner-front/node_modules/@angular-devkit/build-angular/src/webpack/plugins/builder-watch-plugin.d.ts@ 6a3a178

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

initial commit

  • Property mode set to 100644
File size: 746 bytes
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { Compiler } from 'webpack';
9export declare type BuilderWatcherCallback = (events: Array<{
10 path: string;
11 type: 'created' | 'modified' | 'deleted';
12 time?: number;
13}>) => void;
14export interface BuilderWatcherFactory {
15 watch(files: Iterable<string>, directories: Iterable<string>, callback: BuilderWatcherCallback): {
16 close(): void;
17 };
18}
19export declare class BuilderWatchPlugin {
20 private readonly watcherFactory;
21 constructor(watcherFactory: BuilderWatcherFactory);
22 apply(compiler: Compiler): void;
23}
Note: See TracBrowser for help on using the repository browser.