diff --git a/src/linter.js b/src/linter.js index 993777d..75628e7 100644 --- a/src/linter.js +++ b/src/linter.js @@ -126,7 +126,7 @@ function linter(key, options, compilation) { /* istanbul ignore if */ if (err) bail(err); else - writeFile(name, content, (err2) => { + writeFile(name, content, (/** @type {any} */ err2) => { /* istanbul ignore if */ if (err2) bail(err2); else finish();