From 93dee6f9a626049a4651f1dbba8e82914179a86c Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Thu, 26 Sep 2024 23:25:42 +0200 Subject: [PATCH] Fix method name --- lib/WebpackConfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;