From 6ccfa9bc971e93df9ea3e10954f0c1be2178a94b Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Wed, 28 Feb 2024 18:37:39 +0100 Subject: [PATCH] chore(webpack): update callback signature --- lib/mdn-bob.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mdn-bob.ts b/lib/mdn-bob.ts index cfb69e052..cf055260d 100644 --- a/lib/mdn-bob.ts +++ b/lib/mdn-bob.ts @@ -40,7 +40,7 @@ function doWebpack() { return new Promise((resolve, reject) => { webpack( webpackConfig, - (err: Error | undefined, stats: Stats | undefined) => { + (err: Error | null | undefined, stats: Stats | undefined) => { if (!stats) { throw new Error("MDN-BOB: Stats were not delivered by webpack"); }