File tree 2 files changed +3
-6
lines changed 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -241,8 +241,7 @@ export class MultiCompiler {
241
241
validateDependencies ( callback : Callback < Error , MultiStats > ) : boolean {
242
242
const edges = new Set < { source : Compiler ; target : Compiler } > ( ) ;
243
243
const missing : string [ ] = [ ] ;
244
- // @ts -expect-error
245
- const targetFound = compiler => {
244
+ const targetFound = ( compiler : Compiler ) => {
246
245
for ( const edge of edges ) {
247
246
if ( edge . target === compiler ) {
248
247
return true ;
Original file line number Diff line number Diff line change @@ -68,8 +68,7 @@ class Watching {
68
68
dirs : Iterable < string > ,
69
69
missing : Iterable < string >
70
70
) {
71
- // @ts -expect-error
72
- this . pausedWatcher = null ;
71
+ this . pausedWatcher = undefined ;
73
72
this . watcher = this . compiler . watchFileSystem . watch (
74
73
files ,
75
74
dirs ,
@@ -215,8 +214,7 @@ class Watching {
215
214
this . pausedWatcher = this . watcher ;
216
215
this . lastWatcherStartTime = Date . now ( ) ;
217
216
this . watcher . pause ( ) ;
218
- // @ts -expect-error
219
- this . watcher = null ;
217
+ this . watcher = undefined ;
220
218
} else if ( ! this . lastWatcherStartTime ) {
221
219
this . lastWatcherStartTime = Date . now ( ) ;
222
220
}
You can’t perform that action at this time.
0 commit comments