From e01cceeaad9ebb3fade26a0fe046b5f9fe451994 Mon Sep 17 00:00:00 2001 From: David Vacca Date: Tue, 18 Mar 2025 13:21:07 -0700 Subject: [PATCH] Fix typos on ReactNativeFeatureFlags system (#50079) Summary: Fix typos on ReactNativeFeatureFlags system changelog: [internal] internal Reviewed By: NickGerleman Differential Revision: D71331170 --- .../react/internal/featureflags/ReactNativeFeatureFlags.kt | 4 ++-- .../ReactCommon/react/featureflags/ReactNativeFeatureFlags.h | 4 ++-- .../templates/android/ReactNativeFeatureFlags.kt-template.js | 2 +- .../common-cxx/ReactNativeFeatureFlags.h-template.js | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlags.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlags.kt index f7c5264dda74c0..5ed46a27c104e8 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlags.kt +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlags.kt @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<> + * @generated SignedSource<> */ /** @@ -323,7 +323,7 @@ public object ReactNativeFeatureFlags { * This is **dangerous** because it can introduce consistency issues that will * be much harder to debug. For example, it could hide the fact that feature * flags are read before you set the values you want to use everywhere. It - * could also cause a workflow to suddently have different feature flags for + * could also cause a workflow to suddenly have different feature flags for * behaviors that were configured with different values before. * * It returns a string that contains the feature flags that were accessed diff --git a/packages/react-native/ReactCommon/react/featureflags/ReactNativeFeatureFlags.h b/packages/react-native/ReactCommon/react/featureflags/ReactNativeFeatureFlags.h index e6536c2895ef41..91d6335c4635a2 100644 --- a/packages/react-native/ReactCommon/react/featureflags/ReactNativeFeatureFlags.h +++ b/packages/react-native/ReactCommon/react/featureflags/ReactNativeFeatureFlags.h @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated SignedSource<<29cdbefbe02064df4fb65388e64f95a4>> + * @generated SignedSource<> */ /** @@ -291,7 +291,7 @@ class ReactNativeFeatureFlags { * This is **dangerous** because it can introduce consistency issues that will * be much harder to debug. For example, it could hide the fact that feature * flags are read before you set the values you want to use everywhere. It - * could also cause a workflow to suddently have different feature flags for + * could also cause a workflow to suddenly have different feature flags for * behaviors that were configured with different values before. * * Please see the documentation of `dangerouslyReset` for additional details. diff --git a/packages/react-native/scripts/featureflags/templates/android/ReactNativeFeatureFlags.kt-template.js b/packages/react-native/scripts/featureflags/templates/android/ReactNativeFeatureFlags.kt-template.js index 68b21fa53b0cea..5e4c107bc56a13 100644 --- a/packages/react-native/scripts/featureflags/templates/android/ReactNativeFeatureFlags.kt-template.js +++ b/packages/react-native/scripts/featureflags/templates/android/ReactNativeFeatureFlags.kt-template.js @@ -100,7 +100,7 @@ ${Object.entries(definitions.common) * This is **dangerous** because it can introduce consistency issues that will * be much harder to debug. For example, it could hide the fact that feature * flags are read before you set the values you want to use everywhere. It - * could also cause a workflow to suddently have different feature flags for + * could also cause a workflow to suddenly have different feature flags for * behaviors that were configured with different values before. * * It returns a string that contains the feature flags that were accessed diff --git a/packages/react-native/scripts/featureflags/templates/common-cxx/ReactNativeFeatureFlags.h-template.js b/packages/react-native/scripts/featureflags/templates/common-cxx/ReactNativeFeatureFlags.h-template.js index d6a59223341c17..9fa9639abffdb3 100644 --- a/packages/react-native/scripts/featureflags/templates/common-cxx/ReactNativeFeatureFlags.h-template.js +++ b/packages/react-native/scripts/featureflags/templates/common-cxx/ReactNativeFeatureFlags.h-template.js @@ -99,7 +99,7 @@ ${Object.entries(definitions.common) * This is **dangerous** because it can introduce consistency issues that will * be much harder to debug. For example, it could hide the fact that feature * flags are read before you set the values you want to use everywhere. It - * could also cause a workflow to suddently have different feature flags for + * could also cause a workflow to suddenly have different feature flags for * behaviors that were configured with different values before. * * Please see the documentation of \`dangerouslyReset\` for additional details.