From 2326a7c8dc8c7276e8e0676d0206eb08314181eb Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 14 May 2025 14:08:57 +0100 Subject: [PATCH] Update @types/react patch (#29960) Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- ...@types+react+19.0.10.patch => @types+react+19.1.4.patch} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename patches/{@types+react+19.0.10.patch => @types+react+19.1.4.patch} (91%) diff --git a/patches/@types+react+19.0.10.patch b/patches/@types+react+19.1.4.patch similarity index 91% rename from patches/@types+react+19.0.10.patch rename to patches/@types+react+19.1.4.patch index 6f54d0b382..ceba85b000 100644 --- a/patches/@types+react+19.0.10.patch +++ b/patches/@types+react+19.1.4.patch @@ -1,5 +1,5 @@ diff --git a/node_modules/@types/react/index.d.ts b/node_modules/@types/react/index.d.ts -index 2272032..18bd20a 100644 +index d3318dc..c2b2c77 100644 --- a/node_modules/@types/react/index.d.ts +++ b/node_modules/@types/react/index.d.ts @@ -134,7 +134,7 @@ declare namespace React { @@ -11,7 +11,7 @@ index 2272032..18bd20a 100644 /** * Created by {@link createRef}, or {@link useRef} when passed `null`. -@@ -941,7 +941,7 @@ declare namespace React { +@@ -945,7 +945,7 @@ declare namespace React { context: unknown; // Keep in sync with constructor signature of JSXElementConstructor and ComponentClass. @@ -20,7 +20,7 @@ index 2272032..18bd20a 100644 // We MUST keep setState() as a unified signature because it allows proper checking of the method return type. // See: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/18365#issuecomment-351013257 -@@ -1113,7 +1113,7 @@ declare namespace React { +@@ -1117,7 +1117,7 @@ declare namespace React { */ interface ComponentClass
extends StaticLifecycle
{ // constructor signature must match React.Component