sassdoc icon indicating copy to clipboard operation
sassdoc copied to clipboard

List of supported types

Open xaket94934 opened this issue 5 years ago • 1 comments

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) {
}

xaket94934 avatar Jun 18 '20 15:06 xaket94934

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

pascalduez avatar Jun 19 '20 09:06 pascalduez