Skip to content

Commit

Permalink
fix(template-parser): traverse ng-content fallback content (#2031)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattlewis92 authored Sep 16, 2024
1 parent 58e32ee commit 159658f
Show file tree
Hide file tree
Showing 3 changed files with 1,148 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/template-parser/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ const KEYS: VisitorKeys = {
SwitchBlockCase: ['children', 'expression'],
ForLoopBlock: ['children', 'empty', 'expression', 'trackBy'],
ForLoopBlockEmpty: ['children'],
Content: ['children'],
};

function fallbackKeysFilter(this: Node, key: string) {
Expand Down
Loading

0 comments on commit 159658f

Please sign in to comment.