Skip to content

Commit 5dd6a48

Browse files
committed
Use declare const instead of declare var (#28599)
Use `declare const` instead of `declare var` DiffTrain build for commit 6708115.
1 parent ae299be commit 5dd6a48

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8ef14cf24219addedca3607dabb3bef37fb2e013
1+
67081159377b438b48e3c2f2278af8e5f56b9f64

compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/shims/ReactNativeTypes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noformat
88
* @flow strict
99
* @nolint
10-
* @generated SignedSource<<fbf33f04ca9428c149262f17c8a4b6ab>>
10+
* @generated SignedSource<<b35184ab7e1e173fd34278def089e277>>
1111
*/
1212

1313
import type {ElementRef, ElementType, Element, AbstractComponent} from 'react';
@@ -127,7 +127,7 @@ export type NativeMethods = $ReadOnly<{|
127127
|}>;
128128

129129
// This validates that INativeMethods and NativeMethods stay in sync using Flow!
130-
declare var ensureNativeMethodsAreSynced: NativeMethods;
130+
declare const ensureNativeMethodsAreSynced: NativeMethods;
131131
(ensureNativeMethodsAreSynced: INativeMethods);
132132

133133
export type HostComponent<T> = AbstractComponent<T, $ReadOnly<NativeMethods>>;

0 commit comments

Comments
 (0)