/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
- 15 votes189 views2 answers
- 2 votes197 views1 answer
- 38 votes202 views2 answers
- 0 vote231 views1 answer
- 1 vote193 views1 answer
- 0 vote193 views1 answer
- 0 vote207 views1 answer
- 0 vote229 views1 answer
- 0 vote184 views1 answer
- 9 votes218 views3 answers