From f01d47c383f28eaec993e67c48ac022a6401748f Mon Sep 17 00:00:00 2001 From: Tomas Batalla Date: Tue, 23 Mar 2021 21:03:30 -0700 Subject: [PATCH] Add type parameter to RefObject (#284) RefObject requires a type parameter: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react/index.d.ts#L84 --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 09b83b3..6d57215 100644 --- a/index.d.ts +++ b/index.d.ts @@ -146,7 +146,7 @@ interface CalendarStripProps { headerText?: string; - ref?: RefObject; + ref?: RefObject; } export default class ReactNativeCalendarStrip extends Component {