Skip to content

Commit 3744c12

Browse files
committed
Use ReactFabricType instead of ReactNativeType
1 parent 138c3d0 commit 3744c12

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

packages/react-native-renderer/src/ReactNativeTypes.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ export type ReactNativeType = {
182182
element: Element<ElementType>,
183183
containerTag: number,
184184
callback: ?() => void,
185-
concurrentRoot: ?boolean,
186185
): ?ElementRef<ElementType>,
187186
unmountComponentAtNode(containerTag: number): void,
188187
unmountComponentAtNodeAndRemoveContainer(containerTag: number): void,

scripts/rollup/shims/react-native/ReactFabric.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212

1313
import {BatchedBridge} from 'react-native/Libraries/ReactPrivate/ReactNativePrivateInterface';
1414

15-
// TODO @sema: Adjust types
16-
import type {ReactNativeType} from './ReactNativeTypes';
15+
import type {ReactFabricType} from './ReactNativeTypes';
1716

1817
let ReactFabric;
1918

0 commit comments

Comments
 (0)