/wiki/TagType.wiki

http://jsdoc-toolkit.googlecode.com/ · Unknown · 23 lines · 16 code · 7 blank · 0 comment · 0 complexity · 88dfe8f09b23045b9d4b3f27d2993d5e MD5 · raw file

  1. #summary @type
  2. == The @type Tag ==
  3. The `@type` tag allows you to document the type of value a variable refers to, or the type of value returned by a function.
  4. === Syntax ===
  5. {{{
  6. @type typeName
  7. }}}
  8. * typeName - Required: the name of the type.
  9. === Example ===
  10. {{{
  11. /**
  12. * @type Color
  13. */
  14. function getColor() {
  15. }
  16. }}}