/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
- 1 vote178 views1 answer
- 0 vote179 views1 answer
- 0 vote167 views2 answers
- 1 vote226 views1 answer
- 0 vote166 views1 answer
- 1 vote174 views1 answer
- 35 votes173 views2 answers
- 0 vote180 views2 answers
- 5 votes181 views2 answers
- 0 vote315 views1 answer