We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b6e85a commit 8105a05Copy full SHA for 8105a05
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