How to pass typesafe react-hook-form form object - Theo's Typesafe Cult