File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -192,12 +192,12 @@ If the default `entry` is used, the file should contain two more **NAMED** expor
192192
193193``` ts
194194function showCompileError(webpackErrorMessage : string ) {}
195- function clearCompileErrors () {}
195+ function clearCompileError () {}
196196```
197197
198198- ` showCompileError ` is invoked when an error occurred during a Webpack compilation
199199 (NOTE: ` webpackErrorMessage ` might be ANSI encoded depending on the integration);
200- - ` clearCompileErrors ` is invoked when a new Webpack compilation is started (i.e. HMR rebuild).
200+ - ` clearCompileError ` is invoked when a new Webpack compilation is started (i.e. HMR rebuild).
201201
202202> Note: if you want to use ` react-error-overlay ` as a value to this option,
203203> you should instead use ` react-dev-utils/refreshOverlayInterop ` or implement a similar interop.
You can’t perform that action at this time.
0 commit comments