From 5dd6a4814e4173b4f2b76c2d0e3c1806a8347b51 Mon Sep 17 00:00:00 2001 From: kassens Date: Fri, 22 Mar 2024 15:24:50 +0000 Subject: [PATCH] Use `declare const` instead of `declare var` (#28599) Use `declare const` instead of `declare var` DiffTrain build for commit https://github.com/facebook/react/commit/67081159377b438b48e3c2f2278af8e5f56b9f64. --- .../xplat/js/react-native-github/Libraries/Renderer/REVISION | 2 +- .../Libraries/Renderer/shims/ReactNativeTypes.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION index 5732366b99979..3db4d4baba15b 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION @@ -1 +1 @@ -8ef14cf24219addedca3607dabb3bef37fb2e013 +67081159377b438b48e3c2f2278af8e5f56b9f64 diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/shims/ReactNativeTypes.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/shims/ReactNativeTypes.js index 0a8adc080da73..65daba73e3a6a 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/shims/ReactNativeTypes.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/shims/ReactNativeTypes.js @@ -7,7 +7,7 @@ * @noformat * @flow strict * @nolint - * @generated SignedSource<> + * @generated SignedSource<> */ import type {ElementRef, ElementType, Element, AbstractComponent} from 'react'; @@ -127,7 +127,7 @@ export type NativeMethods = $ReadOnly<{| |}>; // This validates that INativeMethods and NativeMethods stay in sync using Flow! -declare var ensureNativeMethodsAreSynced: NativeMethods; +declare const ensureNativeMethodsAreSynced: NativeMethods; (ensureNativeMethodsAreSynced: INativeMethods); export type HostComponent = AbstractComponent>;