Fix compilation problem

This commit is contained in:
Alex Dima 2022-02-03 22:47:10 +01:00
parent d8417a5576
commit 0bc9ebb914
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9

View file

@ -33,7 +33,7 @@ function getCompilerHook(
new SingleEntryPlugin(compiler.context, entry, 'main').apply(childCompiler);
plugins.forEach((plugin) => plugin.apply(childCompiler));
childCompiler.runAsChild((err?: Error) => callback(err));
childCompiler.runAsChild((err?: Error | null) => callback(err));
};
}