source: frontend/node_modules/fork-ts-checker-webpack-plugin/lib/hooks/pluginHooks.d.ts

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 1.3 KB
Line 
1import * as webpack from 'webpack';
2import { SyncHook, SyncWaterfallHook, AsyncSeriesWaterfallHook } from 'tapable';
3import { FilesChange } from '../reporter';
4import { Issue } from '../issue';
5declare function createForkTsCheckerWebpackPluginHooks(): {
6 start: AsyncSeriesWaterfallHook<FilesChange, webpack.compilation.Compilation, any>;
7 waiting: SyncHook<webpack.compilation.Compilation, any, any>;
8 canceled: SyncHook<webpack.compilation.Compilation, any, any>;
9 error: SyncHook<Error, webpack.compilation.Compilation, any>;
10 issues: SyncWaterfallHook<Issue[], webpack.compilation.Compilation | undefined, void>;
11};
12declare type ForkTsCheckerWebpackPluginHooks = ReturnType<typeof createForkTsCheckerWebpackPluginHooks>;
13declare function getForkTsCheckerWebpackPluginHooks(compiler: webpack.Compiler | webpack.MultiCompiler): {
14 start: AsyncSeriesWaterfallHook<FilesChange, webpack.compilation.Compilation, any>;
15 waiting: SyncHook<webpack.compilation.Compilation, any, any>;
16 canceled: SyncHook<webpack.compilation.Compilation, any, any>;
17 error: SyncHook<Error, webpack.compilation.Compilation, any>;
18 issues: SyncWaterfallHook<Issue[], webpack.compilation.Compilation | undefined, void>;
19};
20export { getForkTsCheckerWebpackPluginHooks, ForkTsCheckerWebpackPluginHooks };
Note: See TracBrowser for help on using the repository browser.