Resharper DI - Automatically adding Imports statements incorrectly For Angular 2/4


When I add a provider in angular 2 in the constructor, it should add the correct imports statement, but instead it add the statement below:

constructor(public navCtrl: NavController, public navParams: NavParams, private ctrlToast: ToastController, private provUser: UserProvider) {

----It adds this.....

import Userprovider = require("../../providers/user-provider");
import UserProvider = Userprovider.UserProvider;

---- it should add...

import { UserProvider } from "../../providers/user-provider"



VS2015, Angular 4, Ionic 3

Please sign in to leave a comment.