/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 vote143 views1 answer
- 2 votes178 views1 answer
- 2 votes267 views2 answers
- 0 vote283 views1 answer
- 0 vote203 views1 answer
- 0 vote289 views1 answer
- 0 vote206 views1 answer
- 0 vote135 views1 answer
- 0 vote194 views1 answer
- 0 vote180 views1 answer