fix pogen with sub-JSX expression
This commit is contained in:
parent
d2f9fc8617
commit
4000b3ae76
@ -218,6 +218,9 @@ export function processFile(sourceFile: ts.SourceFile) {
|
||||
}
|
||||
case ts.SyntaxKind.JsxOpeningElement:
|
||||
break;
|
||||
case ts.SyntaxKind.JsxElement:
|
||||
fragments.push(`%${holeNum[0]++}$s`);
|
||||
break;
|
||||
case ts.SyntaxKind.JsxExpression:
|
||||
{
|
||||
let e = childNode as ts.JsxExpression;
|
||||
|
Loading…
Reference in New Issue
Block a user