/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 vote338 views1 answer
- 2 votes302 views1 answer
- 0 vote336 views1 answer
- 1 vote342 views1 answer
- 0 vote345 views1 answer
- 5 votes352 views4 answers
- 10 votes325 views2 answers
- 0 vote335 views1 answer
- 0 vote330 views2 answers
- 1 vote331 views2 answers