Check out example codes for "typescript react onchange event type". It will help you in understanding the concepts better.

Code Example 1

onChange={(
                ev: React.ChangeEvent<HTMLInputElement>,
            ): void => setInputValue(ev.target.value)}

Code Example 2

type Props = {
  onChange: (e: React.ChangeEvent<HTMLInputElement>) => void
}

export Input:React.FC<Props> ({onChange}) => (
  <input type="tex" onChange={onChange} />
)

Learn ReactJs, React Native from akashmittal.com