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.
20 lines
1.3 KiB
20 lines
1.3 KiB
import * as webpack from 'webpack'; |
|
import { SyncHook, SyncWaterfallHook, AsyncSeriesWaterfallHook } from 'tapable'; |
|
import { FilesChange } from '../reporter'; |
|
import { Issue } from '../issue'; |
|
declare function createForkTsCheckerWebpackPluginHooks(): { |
|
start: AsyncSeriesWaterfallHook<FilesChange, webpack.compilation.Compilation, any>; |
|
waiting: SyncHook<webpack.compilation.Compilation, any, any>; |
|
canceled: SyncHook<webpack.compilation.Compilation, any, any>; |
|
error: SyncHook<Error, webpack.compilation.Compilation, any>; |
|
issues: SyncWaterfallHook<Issue[], webpack.compilation.Compilation | undefined, void>; |
|
}; |
|
declare type ForkTsCheckerWebpackPluginHooks = ReturnType<typeof createForkTsCheckerWebpackPluginHooks>; |
|
declare function getForkTsCheckerWebpackPluginHooks(compiler: webpack.Compiler | webpack.MultiCompiler): { |
|
start: AsyncSeriesWaterfallHook<FilesChange, webpack.compilation.Compilation, any>; |
|
waiting: SyncHook<webpack.compilation.Compilation, any, any>; |
|
canceled: SyncHook<webpack.compilation.Compilation, any, any>; |
|
error: SyncHook<Error, webpack.compilation.Compilation, any>; |
|
issues: SyncWaterfallHook<Issue[], webpack.compilation.Compilation | undefined, void>; |
|
}; |
|
export { getForkTsCheckerWebpackPluginHooks, ForkTsCheckerWebpackPluginHooks };
|
|
|