SassDoc / sassdoc

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

List of supported types #549

Open xaket94934 opened 4 years ago

xaket94934 commented 4 years ago

Is there a list of supported types?

I have seen String, Number, Color and some others being used but they're not documented.

It seems that SASSDOC accepts any string as a type, for example, it would be OK to use the type Integer if my parameter can only accept integer values?

/// @param {Integer} $myparam
@mixin A($myparam) {
}
pascalduez commented 4 years ago

Hi @xaket94934,

SassDoc does not preform any check for type correctness, up to you to use the proper Sass types. https://sass-lang.com/documentation/values