title: How to use React Hook Form with Typescript (Input Component)
body: <p>The component has no errors, but in the index file where I actually call the input component, it has an error because it cannot use register = {register}.</p>
  <p>What is missing? Or what's wrong?</p>
  <p><a href="https://codesandbox.io/s/react-hook-form-typescript-xnb1u" rel="nofollow noreferrer">https://codesandbox.io/s/react-hook-form-typescript-xnb1u</a></p>