Skip to content

Commit f01d47c

Browse files
authored
Add type parameter to RefObject (#284)
RefObject requires a type parameter: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react/index.d.ts#L84
1 parent 890417a commit f01d47c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ interface CalendarStripProps {
146146

147147
headerText?: string;
148148

149-
ref?: RefObject;
149+
ref?: RefObject<any>;
150150
}
151151

152152
export default class ReactNativeCalendarStrip extends Component<CalendarStripProps> {

0 commit comments

Comments
 (0)