The proposal specifically addresses this situation. Type inference is possible for a one-element tuple type like (repeat String), but we are unable to explicitly declare one in source. See Swift Evolution Proposal 0393 Value and Type Parameter Packs.
Topic:
Programming Languages
SubTopic:
Swift
Tags: