Reputation: 131
I have a problem with Angular project and syntax of TypeScript, I make a new empty Angular project but PhpStorm (2019.2.1) don't recognize TypeScript syntax.
Upvotes: 2
Views: 515
Reputation: 93728
Looks like the .ts
extension is assigned to XML file type in Settings | Editor | File Types. Please remove all .ts
patterns from this file type and make sure that *.ts
is listed among patterns registered for TypeScript:
Upvotes: 1
Reputation: 3576
For Angular and other JS,TS based Web development I recommend using :
However, if you follow these steps, you should not face such issue:
https://www.jetbrains.com/help/phpstorm/angular.html
Also, as in comments by LazyOne: PhpStorm syntax problem with Angular project
Upvotes: 0