1 | import type { Issue } from 'fork-ts-checker-webpack-plugin/lib/issue';
|
2 | import type { Compiler } from 'webpack';
|
3 | interface Options {
|
4 |
|
5 | title?: string;
|
6 |
|
7 | excludeWarnings?: boolean;
|
8 |
|
9 | alwaysNotify?: boolean;
|
10 |
|
11 | skipFirstNotification?: boolean;
|
12 |
|
13 | skipSuccessful?: boolean;
|
14 | }
|
15 | declare class ForkTsCheckerNotifierWebpackPlugin {
|
16 | options: Options;
|
17 | lastBuildSucceeded: boolean;
|
18 | isFirstBuild: boolean;
|
19 | titlePrefix: string;
|
20 | constructor(options?: Options);
|
21 | buildNotification(issues: Issue[]): {
|
22 | title: string;
|
23 | message: string;
|
24 | icon: string;
|
25 | } | undefined;
|
26 | compilationDone: (issues: Issue[]) => Issue[];
|
27 | apply(compiler: Compiler): void;
|
28 | }
|
29 | export = ForkTsCheckerNotifierWebpackPlugin;
|