We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 463faf1 commit 9d0068dCopy full SHA for 9d0068d
1 file changed
crates/swc_ecma_transforms_typescript/src/transform.rs
@@ -1752,6 +1752,10 @@ impl QueryRef for NamespaceExportQuery<'_> {
1752
}
1753
1754
fn query_jsx(&self, ident: &Ident) -> Option<JSXElementName> {
1755
+ if ident.sym.starts_with(|c: char| c.is_ascii_lowercase()) {
1756
+ return None;
1757
+ }
1758
+
1759
if self.query_ref(ident).is_some() {
1760
return Some(
1761
JSXMemberExpr {
0 commit comments