/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 vote117 views1 answer
- 0 vote115 views1 answer
- 0 vote110 views1 answer
- 0 vote124 views1 answer
- 29 votes117 views4 answers
- 2 votes111 views2 answers
- 5 votes149 views2 answers
- 1 vote109 views1 answer
- 0 vote142 views1 answer
- 0 vote102 views1 answer