Hacker News new | ask | show | jobs
by modestygrime 1274 days ago
> As well, optional generics are trivially achievable in TS via default type parameters, unless I'm not understanding that section of the article.

He links to another post that goes into more detail: https://effectivetypescript.com/2020/12/04/gentips-1-curry/

In particular the question and answer in the comments should make it more clear.