See below, I can\'t seem to have each key in the object be constrained to its array entry.
Instead, the result will accept a union of all func properties
func