/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 vote248 views1 answer
- 4 votes241 views2 answers
- 8 votes263 views5 answers
- 2 votes279 views2 answers
- 7 votes261 views3 answers
- 1 vote247 views1 answer
- 1 vote257 views1 answer
- 0 vote314 views2 answers
- 0 vote244 views1 answer
- 0 vote239 views1 answer