microsoft / tsdoc

A doc comment standard for TypeScript
https://tsdoc.org/
MIT License
4.71k stars 131 forks source link

How to deprecate generic type parameters on class/interface? #283

Open snebjorn opened 3 years ago

snebjorn commented 3 years ago

I found https://github.com/microsoft/tsdoc/issues/131 and that approach will work for generic type parameters on functions inside interfaces/classes.

But how can we mark the below generic type parameter DEPRECATED as @deprecated?

interface Foo<T, DEPRECATED> {}