Type error when using react-hook-form submit handler - Theo's Typesafe Cult