/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
- 10 votes107 views4 answers
- 2 votes105 views1 answer
- 0 vote100 views1 answer
- -1 vote95 views1 answer
- 18 votes96 views3 answers
- 5 votes105 views3 answers
- 0 vote103 views1 answer
- 0 vote96 views1 answer
- 3 votes96 views1 answer
- 19 votes101 views4 answers