/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 vote303 views3 answers
- 1 vote299 views1 answer
- 0 vote279 views1 answer
- 0 vote277 views1 answer
- 5 votes283 views1 answer
- 3 votes283 views1 answer
- 0 vote281 views1 answer
- 1 vote264 views1 answer
- 0 vote302 views1 answer
- 0 vote286 views1 answer