/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 vote134 views1 answer
- 1 vote138 views1 answer
- 0 vote125 views2 answers
- 0 vote142 views1 answer
- 0 vote141 views1 answer
- 6 votes149 views2 answers
- 0 vote134 views1 answer
- -1 vote132 views1 answer
- 1 vote142 views1 answer
- 1 vote128 views1 answer