Skip to content

Commit

Permalink
Fix forgotten Object in measureLayout type
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSavior committed Sep 26, 2019
1 parent e99175b commit db60405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native-renderer/src/ReactNativeTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class ReactNativeComponent<Props> extends React.Component<Props> {
measure(callback: MeasureOnSuccessCallback): void {}
measureInWindow(callback: MeasureInWindowOnSuccessCallback): void {}
measureLayout(
relativeToNativeNode: number | Object,
relativeToNativeNode: number | ElementRef<HostComponent<mixed>>,
onSuccess: MeasureLayoutOnSuccessCallback,
onFail?: () => void,
): void {}
Expand Down

0 comments on commit db60405

Please sign in to comment.