atom / atomdoc

Atom's documentation parser for JavaScript / CoffeeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do you handle arrays?

venkatperi opened this issue · comments

Suppose my method returns an array of {Widgit}s. How would I state this considering that the link parsing regex is: /\{([\w.]+)\}/

  • Returns {Array} of {Widget} sets the type as 'Array'
  • Returns {Array{Widget}} and other combinations of nested either indicate type to be {Widget} or fail.