Created
August 5, 2018 19:16
-
-
Save vialyx/e38a174ae70de3e7a855f418a4484de0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typealias User = String | |
func getUsers(with ids: UUID...) -> [User] { | |
return ["Maxim", "Nik"] | |
} | |
var downloadTask: (UUID...) -> [String] = getUsers | |
downloadTask(UUID()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment