mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 10:25:42 +01:00
Fix compilation problem
This commit is contained in:
parent
d8417a5576
commit
0bc9ebb914
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue