Skip to content

Commit b679c28

Browse files
committed
Reduce diff
1 parent 3d4456f commit b679c28

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

packages/compiler/src/ml_parser/ast.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export type Node =
2828
| Block
2929
| BlockParameter
3030
| LetDeclaration;
31+
// Expansion|ExpansionCase -- not used by angular-html-parser, should be removed on publish
3132

3233
export abstract class NodeWithI18n implements BaseNode {
3334
constructor(

packages/compiler/src/ml_parser/parser.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -477,9 +477,9 @@ class _TreeBuilder {
477477
);
478478
// Create a separate `startSpan` because `span` will be modified when there is an `end` span.
479479
const startSpan = new ParseSourceSpan(
480-
startTagToken.sourceSpan.start,
481-
end,
482-
startTagToken.sourceSpan.fullStart,
480+
startTagToken.sourceSpan.start,
481+
end,
482+
startTagToken.sourceSpan.fullStart,
483483
);
484484
const nameSpan = new ParseSourceSpan(
485485
startTagToken.sourceSpan.start.moveBy(1),

0 commit comments

Comments
 (0)