We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dfe1389 + 8105a05 commit c888ad5Copy full SHA for c888ad5
1 file changed
ts/util/Styles.ts
@@ -481,7 +481,7 @@ export class Styles {
481
*/
482
public set(name: string, value: string | number | boolean) {
483
name = this.normalizeName(name);
484
- this.setStyle(name, value as string);
+ this.setStyle(name, value.toString());
485
//
486
// If there is no combine function, the children combine to
487
// a separate parent (e.g., border-width sets border-top-width, etc.
0 commit comments