Skip to content

Commit 6233443

Browse files
devversionjelbourn
authored andcommitted
refactor(schematics): remove unused imports in templates (#12752)
* Removes unused imports in the `address-form` and `nav` schematic.
1 parent a027ae5 commit 6233443

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/schematics/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Component, ViewChild<% if(!!viewEncapsulation) { %>, ViewEncapsulation<% }%><% if(changeDetection !== 'Default') { %>, ChangeDetectionStrategy<% }%> } from '@angular/core';
1+
import { Component<% if(!!viewEncapsulation) { %>, ViewEncapsulation<% }%><% if(changeDetection !== 'Default') { %>, ChangeDetectionStrategy<% }%> } from '@angular/core';
22
import { FormBuilder, Validators } from '@angular/forms';
33

44
@Component({

src/lib/schematics/nav/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component<% if(!!viewEncapsulation) { %>, ViewEncapsulation<% }%><% if(changeDetection !== 'Default') { %>, ChangeDetectionStrategy<% }%> } from '@angular/core';
2-
import { BreakpointObserver, Breakpoints, BreakpointState } from '@angular/cdk/layout';
2+
import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';
33
import { Observable } from 'rxjs';
44
import { map } from 'rxjs/operators';
55

0 commit comments

Comments
 (0)