Skip to content

Commit 63bfaad

Browse files
rubennortefacebook-github-bot
authored andcommitted
Remove reference to type that will not be generated
Summary: Changelog: [internal] `ReactNativeType` is the type of the legacy renderer, which is being removed. This removes the references to it so the removal can land without Flow errors. Differential Revision: D101352959
1 parent 77d3df8 commit 63bfaad

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

packages/react-native/Libraries/Renderer/shims/ReactNative.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,15 @@
77
* @noformat
88
* @nolint
99
* @flow
10-
* @generated SignedSource<<7a063365bcf9d96b1cd8714d309e5b92>>
10+
* @generated SignedSource<<5908e4e900f26a939c59a16d2c252af3>>
1111
*
1212
* This file is no longer sync'd from the facebook/react repository.
1313
* The version compatibility check is removed. Use at your own risk.
1414
*/
1515
'use strict';
1616

17-
import type {ReactNativeType} from './ReactNativeTypes';
18-
19-
let ReactNative: ReactNativeType;
17+
// The underlying type no longer exists
18+
let ReactNative: $FlowFixMe;
2019

2120
if (__DEV__) {
2221
ReactNative = require('../implementations/ReactNativeRenderer-dev');

0 commit comments

Comments
 (0)