/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
- 10 votes132 views2 answers
- 20 votes123 views2 answers
- 0 vote124 views1 answer
- 0 vote124 views1 answer
- 0 vote116 views6 answers
- 3 votes122 views3 answers
- 0 vote128 views1 answer
- 0 vote123 views1 answer
- 0 vote131 views1 answer
- 0 vote121 views1 answer