Skip to content

Commit 151a0b2

Browse files
committed
feat(@schematics/angular): remove useless import for Ivy
Using cli `6.2.0-beta.2` with the new `experimentalIvy` flag leads to: ERROR in src/app/app.module.ts(1,1): error TS6133: 'BrowserModule' is declared but its value is never read.
1 parent 3000c8a commit 151a0b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/schematics/angular/application/other-files/app.module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { BrowserModule } from '@angular/platform-browser';
1+
<% if (!experimentalIvy) { %>import { BrowserModule } from '@angular/platform-browser';<% } %>
22
import { NgModule } from '@angular/core';
33
<% if (routing) { %>
44
import { AppRoutingModule } from './app-routing.module';<% } %>

0 commit comments

Comments
 (0)