/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
- 0 vote188 views1 answer
- 0 vote219 views1 answer
- 0 vote196 views1 answer
- 1 vote169 views2 answers
- 3 votes178 views1 answer
- 0 vote193 views1 answer
- 1 vote190 views2 answers
- 1 vote194 views1 answer
- 0 vote174 views1 answer
- 9 votes205 views3 answers