File tree Expand file tree Collapse file tree 4 files changed +11
-7
lines changed
packages/react-native/Libraries
ReactNative/ReactFabricPublicInstance Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import type {
1212 AttributeConfiguration ,
1313 HostComponent ,
1414 INativeMethods ,
15+ InternalInstanceHandle ,
1516 MeasureInWindowOnSuccessCallback ,
1617 MeasureLayoutOnSuccessCallback ,
1718 MeasureOnSuccessCallback ,
@@ -41,14 +42,14 @@ const noop = () => {};
4142export default class ReactFabricHostComponent implements INativeMethods {
4243 // These need to be accessible from `ReactFabricPublicInstanceUtils`.
4344 __nativeTag : number ;
44- __internalInstanceHandle : mixed ;
45+ __internalInstanceHandle : InternalInstanceHandle ;
4546
4647 _viewConfig : ViewConfig ;
4748
4849 constructor (
4950 tag : number ,
5051 viewConfig : ViewConfig ,
51- internalInstanceHandle : mixed ,
52+ internalInstanceHandle : InternalInstanceHandle ,
5253 ) {
5354 this . __nativeTag = tag ;
5455 this . _viewConfig = viewConfig ;
Original file line number Diff line number Diff line change 99 */
1010
1111import typeof ReactFabricType from '../../Renderer/shims/ReactFabric' ;
12- import type { ViewConfig } from '../../Renderer/shims/ReactNativeTypes' ;
12+ import type {
13+ InternalInstanceHandle ,
14+ ViewConfig ,
15+ } from '../../Renderer/shims/ReactNativeTypes' ;
1316import type ReactFabricHostComponentType from './ReactFabricHostComponent' ;
1417
1518// Lazy loaded to avoid evaluating the module when using the legacy renderer.
@@ -20,7 +23,7 @@ let ReactFabric: ReactFabricType;
2023export function createPublicInstance (
2124 tag : number ,
2225 viewConfig : ViewConfig ,
23- internalInstanceHandle : mixed ,
26+ internalInstanceHandle : InternalInstanceHandle ,
2427) : ReactFabricHostComponentType {
2528 if ( ReactFabricHostComponent == null ) {
2629 ReactFabricHostComponent = require ( './ReactFabricHostComponent' ) . default ;
Original file line number Diff line number Diff line change 1- 77ba1618a528787baaa8e007fadaff93a86fb675
1+ ca01f359b9236292c749075bb2fd41bb7b569308
Original file line number Diff line number Diff line change 66 *
77 * @noformat
88 * @flow strict
9- * @generated SignedSource<<7dc3ed81183377055bac08760fcd775b >>
9+ * @generated SignedSource<<e35074dabf9cff3672b45eadd68af01e >>
1010 *
1111 * This file was sync'd from the facebook/react repository.
1212 */
@@ -216,7 +216,7 @@ export type ReactNativeType = {
216216} ;
217217
218218export opaque type Node = mixed ;
219- type InternalInstanceHandle = mixed ;
219+ export opaque type InternalInstanceHandle = mixed ;
220220type PublicInstance = mixed ;
221221
222222export type ReactFabricType = {
You can’t perform that action at this time.
0 commit comments