Skip to content

Commit 52efdd8

Browse files
committed
fixup! refactor(migrations): centralize parseTemplate method
1 parent cdd2e13 commit 52efdd8

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

  • packages/core/schematics/migrations/control-flow-migration

packages/core/schematics/migrations/control-flow-migration/types.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,7 @@
66
* found in the LICENSE file at https://angular.dev/license
77
*/
88

9-
import {
10-
Attribute,
11-
Block,
12-
Element,
13-
LetDeclaration,
14-
ParseTreeResult,
15-
RecursiveVisitor,
16-
Text,
17-
} from '@angular/compiler';
9+
import {Attribute, Block, Element, LetDeclaration, RecursiveVisitor, Text} from '@angular/compiler';
1810
import ts from 'typescript';
1911

2012
import {lookupIdentifiersInSourceFile} from './identifier-lookup';
@@ -116,7 +108,7 @@ export interface AliasAttributes {
116108
aliases: Map<string, string>;
117109
}
118110

119-
export {MigrateError} from '../../utils/parse_html';
111+
export type {MigrateError} from '../../utils/parse_html';
120112

121113
/**
122114
* Represents an element with a migratable attribute

0 commit comments

Comments
 (0)