From f3a77e4b4e446d05b592f684923deb7e0880f31c Mon Sep 17 00:00:00 2001 From: Rahul-Sagore Date: Thu, 4 Apr 2019 11:08:55 +0530 Subject: [PATCH] Fix RefObject is not defined error --- types/react-textarea-autosize/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-textarea-autosize/index.d.ts b/types/react-textarea-autosize/index.d.ts index 9001fa18b1..1ca112d9c1 100644 --- a/types/react-textarea-autosize/index.d.ts +++ b/types/react-textarea-autosize/index.d.ts @@ -49,7 +49,7 @@ declare module "react-textarea-autosize" { /** * Allows an owner to retrieve the DOM node. */ - inputRef?: ((node: HTMLTextAreaElement) => void) | RefObject; + inputRef?: ((node: HTMLTextAreaElement) => void) | React.RefObject; } /**