aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-09-24 18:05:05 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-09-25 14:16:05 -0700
commit8b209aecf96a1490825dca07c248e2e17a77a7ca (patch)
treefb262ed8186d3eadff4e3073e6243d43191ff8a5 /src
parenta515a2d039ec31d27936755a28df2d1b8b583559 (diff)
downloadbun-8b209aecf96a1490825dca07c248e2e17a77a7ca.tar.gz
bun-8b209aecf96a1490825dca07c248e2e17a77a7ca.tar.zst
bun-8b209aecf96a1490825dca07c248e2e17a77a7ca.zip
fix incorrect comment
Diffstat (limited to 'src')
-rw-r--r--src/js_ast.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js_ast.zig b/src/js_ast.zig
index 9ddafdf80..3b077fd27 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