You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scratch that, I don't think closure supports generic typedefs at all. But if we're talking about enabling it in a jsdocy way, I'm pretty sure the template tag is where you'd introduce your type argument list.
Activity
weswigham commentedon Dec 21, 2017
Andy (Andrewkraft) (@Andy-MS) In your example, I'm pretty sure you're supposed to introduce the
Tin the@typedefwith an@templatetag.weswigham commentedon Dec 21, 2017
Scratch that, I don't think closure supports generic typedefs at all. But if we're talking about enabling it in a jsdocy way, I'm pretty sure the template tag is where you'd introduce your type argument list.
brendankenny commentedon Jun 26, 2018
I believe this is now fixed (by #24600?). Wesley Wigham (@weswigham)'s closure example
now works in latest.
mhegazy commentedon Jun 26, 2018
Brendan Kenny (@brendankenny)'s comment in #20831 (comment) is the expected format to declare a generic type parameter in a type def.