atom/atomdoc

How do you handle arrays?

venkatperi opened this issue · 0 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.