Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork149
Description
In master, we have
typefontWeight= [ |#normal |#bold |#100... |#900]
Unfortunately, this is not correct. We need a string"100", not an int100. But this can not be represented as an enum / polymorphic variant (#"100" just gets reformatted to#100, and as far as I can see it is not currently possible to represent the difference in the AST).
We could use an abstract type + an@obj external make with the@string annotation instead, but this usage of@string is likely to get deprecated in ReScript 11, too.
Any other ideas?
Metadata
Metadata
Assignees
Labels
No labels