Closed GilHyeon closed 7 years ago
I wrote code Angular4 with vscode. some module auto import is wrong.
for example, Routes, RouterModule auto import like this
import { Routes, RouterModule } from "@angular/router/router";
but it's not correct. this is correct import statement
import { Routes, RouterModule } from "@angular/router";
this problem have also 'angular/forms' modules import
// wrong import import { FormGroup } from "@angular/forms/forms"; // correct import import { FormGroup } from "@angular/forms";
Steps to Reproduce:
import { Routes } from "@angular/router/src"; import { Routes } from "@angular/router/public_api"; import { Routes } from "@angular/router/router";
import { Routes } from "@angular/router
Reproduces without extensions: Yes
This issue was moved to Microsoft/TypeScript#17705
I wrote code Angular4 with vscode. some module auto import is wrong.
for example, Routes, RouterModule auto import like this
but it's not correct. this is correct import statement
this problem have also 'angular/forms' modules import
Steps to Reproduce:
Reproduces without extensions: Yes