Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List of supported types #549

Open
xaket94934 opened this issue Jun 18, 2020 · 1 comment
Open

List of supported types #549

xaket94934 opened this issue Jun 18, 2020 · 1 comment

Comments

@xaket94934
Copy link

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants