JSDoc @typedef with @template
I'd like to create a generic typedef for the annotating the response type of a REST-Service.
What I want to achive is, when I define a @param as "{ODataSetResult.<MyType>}", I want the IDE to know that this variable got a property "results" of type "Array.<MyType>" (or "MyType[]").
My current state is this:
/**
* @typedef {object} ODataSetResult
* @property {Array.<T>} results
* @template T
*/
The result is this:

What I want is this:

Is this possible with jsdoc @typedef?
请先登录再写评论。
works for me using @interface:
doesn't work with typedefs (not sure if it should - https://github.com/google/closure-compiler/wiki/Generic-Types only mentions classes and interfaces)