/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 vote142 views1 answer
- 7 votes180 views5 answers
- 0 vote154 views1 answer
- 17 votes152 views2 answers
- 3 votes142 views1 answer
- 0 vote177 views1 answer
- 0 vote152 views1 answer
- 0 vote167 views1 answer
- 0 vote148 views1 answer
- 0 vote159 views1 answer