PhpStorm adds TypeScript import statements for angular with the wrong path.
E.g.:
import {HTTP_INTERCEPTORS} from '../../../node_modules/@angular/common/http';
instead of import { HTTP_INTERCEPTORS } from '@angular/common/http';
import {Http} from '../../../node_modules/@angular/http/src';
instead of import {Http} from '@angular/http';
Please sign in to leave a comment.
Removing .idea folder helped. Unfortunately, project's settings are lost now.