-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Labels
Description
As mentioned in #96 we can describe generics that take an indefinite number of type arguments using rest parameter syntax:
interface Collection[...T] {
// use rest parameters to describe Collection interface
}But how can we access a specific type (argument) of the passed rest arguments?