News for hackers. Stuff that matters.
Re:TypeScript at Google by leppr on Sunday September 02, 2018 @12:08PM (#17897454)
The "official" Typescript solution to variadic type parameters is to write a bunch of overloads covering the most frequent cases, e.g. from 1 to 5 parameters.
Re:TypeScript at Google by steadicat on Sunday September 02, 2018 @12:27PM (#17897513)
Re:TypeScript at Google by mpawelski on Sunday September 02, 2018 @05:26PM (#17898754)
no yet really. But it's good first step to have "true" variadic types support. Right now I think you still can't represent stuff like `Promise.all` without many numbers of overloads.