/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
- 2 votes350 views1 answer
- 0 vote305 views1 answer
- 1 vote323 views1 answer
- 0 vote318 views3 answers
- 0 vote324 views1 answer
- 0 vote325 views1 answer
- 1 vote293 views1 answer
- 0 vote286 views1 answer
- 1 vote332 views1 answer
- 0 vote304 views1 answer