/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 vote282 views1 answer
- 0 vote285 views6 answers
- 0 vote274 views1 answer
- 0 vote260 views1 answer
- 0 vote278 views1 answer
- 0 vote344 views1 answer
- 0 vote293 views1 answer
- 0 vote300 views1 answer
- 1 vote271 views1 answer
- 39 votes346 views6 answers