SassDoc / sassdoc

Release the docs!
http://sassdoc.com
MIT License
1.41k stars 56 forks source link

How to document a list of string as parameter #546

Open guoyunhe opened 4 years ago

guoyunhe commented 4 years ago

Should it be string[] or list(string) or anything else?

/// @param {string[]} $args - list of strings
@mixin join($args...) {
  // ...
}
KittyGiraudel commented 4 years ago

As far as I can remember, there is no way to type a list, so it would be @param {arglist} $args in your case.