/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 vote99 views1 answer
- 2 votes98 views1 answer
- 1 vote103 views1 answer
- 1 vote101 views1 answer
- 1 vote111 views1 answer
- 1 vote99 views1 answer
- 9 votes118 views3 answers
- -1 vote101 views1 answer
- 1 vote113 views1 answer
- 3 votes120 views2 answers