-
-
Notifications
You must be signed in to change notification settings - Fork 168
Closed
Labels
Description
The @template
tag is used by the Closure compiler and TypeScript for generics:
/**
* @template T
* @param {T} x
* @return {T}
*/
function identity(x) {
return x;
}
is equivalent to:
function identity<T>(x: T) {
return x;
}