Open
Description
When I do this:
/* foo.css */
@value numberOfColumns: 5;
/* foo.js */
import { numberOfColumns } from foo.css
the value of numberOfColumns
will be a string ("5"
) instead of a number. Is there a better way to make it a number than having to add
/* foo.js continued */
const numberOfColumnsAsARealNumber = parseInt(numberOfColumns);
Metadata
Metadata
Assignees
Labels
No labels