/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
- 13 votes130 views5 answers
- 68 votes327 views6 answers
- 0 vote134 views1 answer
- 0 vote133 views1 answer
- 0 vote135 views1 answer
- 0 vote137 views2 answers
- 0 vote131 views1 answer
- 0 vote187 views4 answers
- 0 vote181 views1 answer
- 0 vote138 views1 answer