Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support compound type descriptions #443

Open
olpa opened this issue Oct 14, 2018 · 0 comments
Open

Support compound type descriptions #443

olpa opened this issue Oct 14, 2018 · 0 comments

Comments

@olpa
Copy link

olpa commented Oct 14, 2018

If I annotate a variable with type Map<Foo, number>, I want to see:

  • the complete type annotation,
  • the substring Foo be a link to Foo type definition.

At the moment, in browser I get only the string Map, without rest.

Similarly, I'd like to have links in the type annotation (Foo, Foo) => Foo.

/**
 * Some class description
 * @class Foo
 */
class Foo {

  /**
   * Some method description
   * @method bar
   * @param {Map<Foo, boolean>} baz1
   *   Want see type `Map_Foo__boolean_`
   * @param {Map<Foo,boolean>} baz2
   *   Want see type `Map_Foo_boolean_`
   * @param {(Foo, Foo) => Foo} baz3
   *   Want see type `_Foo__Foo____Foo`
   * @return {Foo[]}
   *   Array of `Foo`s
   */
  bar(baz1, baz2, baz3) {
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant