Making all Struct fields optional with `partialWith`

Is there a way to make all fields on a Struct optional? (ideally optionalWith({ exact: true})). alternative is to just x.pipe(optionalWith({ exact: true}) on every single field. So, kind of asking for a partialWith({ ...same options as optionWith })
Was this page helpful?