File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
packages/react-native-renderer/src Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -132,9 +132,10 @@ declare const ensureNativeMethodsAreSynced: NativeMethods;
132132( ensureNativeMethodsAreSynced : INativeMethods ) ;
133133
134134export type HostInstance = NativeMethods ;
135- /*::
136- export type HostComponent<Config: {...}> = component(ref: React$RefSetter<HostInstance>, ...Config);
137- */
135+ export type HostComponent < Config : { ...} > = component (
136+ ref : React$RefSetter < HostInstance > ,
137+ ...Config
138+ ) ;
138139
139140type InspectorDataProps = $ReadOnly < {
140141 [ propName : string ] : string ,
@@ -205,9 +206,7 @@ export type ReactNativeType = {
205206 componentOrHandle : ?( ElementRef < TElementType > | number ) ,
206207 ) : ?number ,
207208 isChildPublicInstance (
208- // eslint-disable-next-line no-undef
209209 parent : PublicInstance | HostComponent < empty > ,
210- // eslint-disable-next-line no-undef
211210 child : PublicInstance | HostComponent < empty > ,
212211 ) : boolean ,
213212 dispatchCommand (
You can’t perform that action at this time.
0 commit comments