/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 vote326 views1 answer
- 11 votes333 views1 answer
- 0 vote331 views1 answer
- 0 vote311 views1 answer
- 1 vote336 views3 answers
- 2 votes318 views2 answers
- 0 vote312 views2 answers
- 0 vote300 views1 answer
- 17 votes324 views6 answers
- 0 vote305 views1 answer