/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 vote146 views1 answer
- 0 vote145 views1 answer
- 0 vote172 views4 answers
- 0 vote151 views1 answer
- 0 vote148 views1 answer
- 1 vote142 views1 answer
- 19 votes149 views3 answers
- 0 vote148 views1 answer
- 1 vote153 views1 answer
- 0 vote144 views2 answers