We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0443f47 commit 93dee6fCopy full SHA for 93dee6f
lib/WebpackConfig.js
@@ -800,7 +800,7 @@ class WebpackConfig {
800
*/
801
enableReactPreset(callback = () => {}) {
802
if (typeof callback !== 'function') {
803
- throw new Error('Argument 1 to enableForkedTypeScriptTypesChecking() must be a callback function.');
+ throw new Error('Argument 1 to enableReactPreset() must be a callback function.');
804
}
805
806
this.useReact = true;
0 commit comments