mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-08 03:00:02 +00:00
Fix RefObject is not defined error
This commit is contained in:
2
types/react-textarea-autosize/index.d.ts
vendored
2
types/react-textarea-autosize/index.d.ts
vendored
@@ -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