From 8b209aecf96a1490825dca07c248e2e17a77a7ca Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Fri, 24 Sep 2021 18:05:05 -0700 Subject: [PATCH] fix incorrect comment --- src/js_ast.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js_ast.zig b/src/js_ast.zig index 9ddafdf802..3b077fd27b 100644 --- a/src/js_ast.zig +++ b/src/js_ast.zig @@ -985,7 +985,7 @@ pub const E = struct { /// lineNumber: number | null, /// }``` /// - `children`: - /// - multiple children? the function is React.jsxsDEV, "jsxs" instead of "jsx" + /// - static children? the function is React.jsxsDEV, "jsxs" instead of "jsx" /// - one child? the function is React.jsxDEV, /// - no children? the function is React.jsxDEV and children is an empty array. /// `isStaticChildren`: https://github.com/facebook/react/blob/4ca62cac45c288878d2532e5056981d177f9fdac/packages/react/src/jsx/ReactJSXElementValidator.js#L369-L384