File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,12 @@ const customHooks = {
32
32
33
33
type Formatter = ( message : NormalizedMessage , useColors : boolean ) => string ;
34
34
35
+ interface Logger {
36
+ error ( message ?: any ) : void ;
37
+ warn ( message ?: any ) : void ;
38
+ info ( message ?: any ) : void ;
39
+ }
40
+
35
41
interface Options {
36
42
tsconfig : string ;
37
43
tslint : string | true ;
@@ -40,7 +46,7 @@ interface Options {
40
46
ignoreDiagnostics : number [ ] ;
41
47
ignoreLints : string [ ] ;
42
48
colors : boolean ;
43
- logger : Console ;
49
+ logger : Logger ;
44
50
formatter : 'default' | 'codeframe' | Formatter ;
45
51
formatterOptions : any ;
46
52
silent : boolean ;
@@ -70,7 +76,7 @@ class ForkTsCheckerWebpackPlugin {
70
76
watch : string [ ] ;
71
77
ignoreDiagnostics : number [ ] ;
72
78
ignoreLints : string [ ] ;
73
- logger : Console ;
79
+ logger : Logger ;
74
80
silent : boolean ;
75
81
async : boolean ;
76
82
checkSyntacticErrors : boolean ;
You can’t perform that action at this time.
0 commit comments