mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-30 02:01:46 +00:00
Fix RefObject is not defined error
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ declare module "react-textarea-autosize" {
|
||||
/**
|
||||
* Allows an owner to retrieve the DOM node.
|
||||
*/
|
||||
inputRef?: ((node: HTMLTextAreaElement) => void) | RefObject<HTMLTextAreaElement>;
|
||||
inputRef?: ((node: HTMLTextAreaElement) => void) | React.RefObject<HTMLTextAreaElement>;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user