Skip to content

Commit 7ea9453

Browse files
committed
type import fix
1 parent a5f566a commit 7ea9453

File tree

1 file changed

+2
-1
lines changed
  • packages/devextreme-schematics/src/migrate-config-components

1 file changed

+2
-1
lines changed

packages/devextreme-schematics/src/migrate-config-components/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { Rule, Tree, SchematicContext } from '@angular-devkit/schematics';
2+
import type { HostRule } from './template-migrator';
23
import { applyHostAwareTemplateMigrations, applyInlineComponentTemplateMigrations } from './template-migrator';
34
import mapping from './mappings/deprecated-config-map.json';
45

@@ -55,7 +56,7 @@ export function migrateConfigComponents(options: Options = {}): Rule {
5556
Object.entries(map).filter(([k]) => k !== '_hostSelector')
5657
);
5758
return { hostSelector, configMap };
58-
}) as import('./template-migrator').HostRule[];
59+
}) as HostRule[];
5960

6061
// External HTML templates
6162
await applyHostAwareTemplateMigrations(tree, {

0 commit comments

Comments
 (0)