/TypeScript/Type 'MutableRefObject<undefined>' is not assignable to type 'RefObject<HTMLInputElement>'. Types of property 'current' are incompatible. Type 'undefined' is not assignable to type 'HTMLInputElement | null'. TS2322
Type 'MutableRefObject<undefined>' is not assignable to type 'RefObject<HTMLInputElement>'. Types of property 'current' are incompatible. Type 'undefined' is not assignable to type 'HTMLInputElement | null'. TS2322
Type 'MutableRefObject' is not assignable to type 'RefObject'. Types of property 'current' are incompatible. Type 'undefined' is not assignable to type 'HTMLInputElement | null'. TS2322
1
- -4 votes172 views1 answer
- 0 vote173 views1 answer
- 5 votes160 views1 answer
- 2 votes217 views1 answer
- 0 vote162 views3 answers
- 0 vote175 views1 answer
- 0 vote167 views2 answers
- 0 vote167 views1 answer
- 0 vote206 views1 answer
- 0 vote172 views1 answer