diff options
Diffstat (limited to 'pogen/pogen.ts')
-rw-r--r-- | pogen/pogen.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pogen/pogen.ts b/pogen/pogen.ts index 9e9fc1f20..1d31a878a 100644 --- a/pogen/pogen.ts +++ b/pogen/pogen.ts @@ -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; |