Questions Use generics to define return value for function with discriminated union as input byMRMay 16, 2022