mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 21:36:50 -05:00
fix(54411): Compiled code contain jsx code (#54425)
This commit is contained in:
@@ -480,7 +480,7 @@ export function transformJsx(context: TransformationContext): (x: SourceFile | B
|
||||
continue;
|
||||
}
|
||||
finishObjectLiteralIfNeeded();
|
||||
expressions.push(attr.expression);
|
||||
expressions.push(Debug.checkDefined(visitNode(attr.expression, visitor, isExpression)));
|
||||
continue;
|
||||
}
|
||||
properties.push(transformJsxAttributeToObjectLiteralElement(attr));
|
||||
|
||||
Reference in New Issue
Block a user