Type function return type with broadcasted dimensions for argument ellipses