3 ms·
> because have you tried googling "what does <T=...> in Typescript mean"? Search “typescript generics syntax” and you get the excellent TypeScript docs on gene
by atwood22 4y ago
> because have you tried googling "what does <T=...> in Typescript mean"?
Search “typescript generics syntax” and you get the excellent TypeScript docs on generics as the first result. It covers generic constraints.
- hmsimha 4y ago> It covers generic constraints. Indeed, but I'm not sure how that's relevant since it doesn't cover generic parameter defaults.