/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 vote122 views1 answer
- 19 votes120 views3 answers
- 0 vote82 views1 answer
- 4 votes180 views2 answers
- 11 votes117 views4 answers
- 0 vote126 views1 answer
- 0 vote119 views1 answer
- 9 votes124 views1 answer
- 7 votes116 views3 answers
- 1 vote178 views1 answer