| ▲ | culi 2 days ago | |||||||
Care to give an example? In another reply I pointed out how advanced JSDoc syntax's support for generics is.[0] Even allowing for `extends` and default values for generic slots. The clunkiest part is in the way you "pass in" a generic to a slot. But this is solved by typing the return type. I use generics pretty extensively and I've not yet come across a use-case JSDoc couldn't handle | ||||||||
| ▲ | paulddraper 21 hours ago | parent [-] | |||||||
Ah.....you're putting TypeScript in JSDoc annotations. Which is a lot different than vanilla JSDoc [1]. I understand. | ||||||||
| ||||||||