/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 vote342 views1 answer
- 0 vote309 views1 answer
- 0 vote338 views1 answer
- 0 vote303 views1 answer
- 1 vote297 views1 answer
- 0 vote307 views1 answer
- 0 vote330 views1 answer
- 3 votes343 views1 answer
- 1 vote301 views2 answers
- 0 vote310 views1 answer