Skip to content

Support multiple @template tags in JSDoc #23908

Closed

Description

/**
 * @template {T}
 * @template {U}
 * @typedef Morphism {(x: T) => U}
 */

Currently we refuse to accept the second @template:

[js] 'template' tag already specified.

But Closure does accept this syntax.

Activity

  1. added
    Bug
    Domain: JSDoc
    on May 4, 2018
  2. mhegazy commented on May 4, 2018

    @mhegazy
    Contributor

    We do not support this for functions either.

  3. added
    Fixed
    on Jun 4, 2018
  4. locked and limited conversation to collaborators on Aug 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugDomain: JSDocFixed

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions