/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
- 1 vote261 views1 answer
- 0 vote278 views1 answer
- 6 votes259 views2 answers
- 0 vote337 views1 answer
- -1 vote252 views1 answer
- 1 vote286 views1 answer
- 0 vote302 views1 answer
- 1 vote258 views1 answer
- 1 vote262 views1 answer
- 0 vote267 views1 answer