From 10ffbec4cce89ee4c852570ef7ee11234c41e5cc Mon Sep 17 00:00:00 2001 From: Dheeraj Purohit <30369664+purohitdheeraj@users.noreply.github.com> Date: Mon, 11 Dec 2023 23:33:01 +0530 Subject: [PATCH] Fix: add types to fontWeight (#125) --- packages/stylex/src/StyleXCSSTypes.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/stylex/src/StyleXCSSTypes.js b/packages/stylex/src/StyleXCSSTypes.js index f40d12f8..c8e5397b 100644 --- a/packages/stylex/src/StyleXCSSTypes.js +++ b/packages/stylex/src/StyleXCSSTypes.js @@ -337,7 +337,9 @@ type fontWeight = | 600 | 700 | 800 - | 900; + | 900 + | string + | number; type gap = number | string; type grid = gridTemplate | string; type gridArea = gridLine | string;