Skip to content

Commit

Permalink
chore(webpack): update callback signature
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner committed Feb 28, 2024
1 parent 1bef670 commit 6ccfa9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mdn-bob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit 6ccfa9b

Please sign in to comment.