3 ms·
First hit for "Typescript equals in generic" is https://stackoverflow.com/questions/56843790/typescript-generic-type-with-equal-operator-means https://stackover
by Smaug123 4y ago
First hit for "Typescript equals in generic" is https://stackoverflow.com/questions/56843790/typescript-generic-type-with-equal-operator-means https://stackoverflow.com/questions/56843790/typescript-gene... which explains it. No search results in the docs, sure, but the very first hit for the first query I tried gave me the answer.
- account-5 4y agoWhilst that's good, the TS documents should document this. Google searching and stackoverflow is not a valid replacement for actual documentation, IMO.
- Smaug123 4y agoCertainly they should document it, but as an answer to "(because have you tried googling "what does <T=...> in Typescript mean"?)", I think it seems pretty conclusive :P