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';

 

0
1 comment
Avatar
Permanently deleted user

Removing .idea folder helped. Unfortunately, project's settings are lost now.

0

Please sign in to leave a comment.