/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 vote204 views4 answers
- 0 vote174 views2 answers
- -1 vote191 views1 answer
- 0 vote184 views1 answer
- 1 vote187 views1 answer
- 0 vote179 views1 answer
- 1 vote131 views1 answer
- 0 vote177 views1 answer
- 2 votes171 views2 answers
- 6 votes182 views4 answers