diff --git a/lib/WebpackConfig.js b/lib/WebpackConfig.js index 7a62616d..a2bc6a32 100644 --- a/lib/WebpackConfig.js +++ b/lib/WebpackConfig.js @@ -800,7 +800,7 @@ class WebpackConfig { */ enableReactPreset(callback = () => {}) { if (typeof callback !== 'function') { - throw new Error('Argument 1 to enableForkedTypeScriptTypesChecking() must be a callback function.'); + throw new Error('Argument 1 to enableReactPreset() must be a callback function.'); } this.useReact = true;