/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
- 11 votes231 views4 answers
- 0 vote141 views1 answer
- 1 vote153 views1 answer
- 1 vote140 views1 answer
- 14 votes134 views3 answers
- 0 vote145 views1 answer
- 2 votes140 views1 answer
- 20 votes138 views2 answers
- 6 votes148 views2 answers
- 5 votes160 views2 answers