Skip to content

Commit a427f93

Browse files
authored
Update to [email protected] (#17842)
1 parent 57367c6 commit a427f93

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/ReactTestHostConfig.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,9 @@ export function DEPRECATED_unmountResponderInstance(
316316
// noop
317317
}
318318

319-
export function getFundamentalComponentInstance(fundamentalInstance): Instance {
319+
export function getFundamentalComponentInstance(
320+
fundamentalInstance: ReactFundamentalComponentInstance<any, any>,
321+
): Instance {
320322
const {impl, props, state} = fundamentalInstance;
321323
return impl.getInstance(null, props, state);
322324
}
@@ -370,6 +372,6 @@ export function getInstanceFromNode(mockNode: Object) {
370372
return null;
371373
}
372374

373-
export function beforeRemoveInstance(instance) {
375+
export function beforeRemoveInstance(instance: any) {
374376
// noop
375377
}

0 commit comments

Comments
 (0)