/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 vote187 views1 answer
- 0 vote169 views1 answer
- 2 votes178 views1 answer
- 0 vote167 views1 answer
- 39 votes177 views5 answers
- 0 vote156 views1 answer
- 0 vote205 views1 answer
- 0 vote155 views1 answer
- 0 vote165 views1 answer
- 0 vote163 views2 answers