/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
- 1 vote294 views1 answer
- 3 votes321 views1 answer
- -1 vote303 views1 answer
- 0 vote286 views1 answer
- 0 vote316 views1 answer
- 2 votes326 views1 answer
- 0 vote314 views3 answers
- 0 vote325 views1 answer
- 0 vote284 views1 answer
- 5 votes302 views3 answers