setInputBoxRef type of AutoCompleteInput is incorrect
Describe the bug setInputBoxRef type of AutoCompleteInput is incorrect.
Our AutoCompleteInput expects setInputBoxRef: (ref: TextInput | null) => void;
Where my local context messageInputRef is RefObject<TextInput> originating from a regular useRef hook
const messageInputRef = useRef<TextInput>(null)
To Reproduce Steps to reproduce the behavior:
const messageInputRef = useRef<TextInput>(null)
return <AutoCompleteInput setInputBoxRef={messageInputRef}/>
This should create a TS error.
Expected behavior No TS error
Additional context
setInputBoxRef should be typed RefObject<TextInput>
Hey team! Please add your planning poker estimate with ZenHub @Enigma-I-am @khushal87 @madsroskar @santhoshvai @vishalnarkhede
:tada: This issue has been resolved in version 5.14.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket: