HTML Files Parsed By Typescript Service
When I open an HTML file I get tons of typescript errors for the html file. Why are my html files being parsed by typescript? Can this be disabled somehow?
Webstorm 2017.3
Angular 5.x
Typescript 2.4.2
Some of the errors.
Error:(1, 6) TS1005: '>' expected.
Error:(1, 11) TS1005: '{' expected.
Error:(2, 9) TS1005: '>' expected.
Error:(2, 14) TS1005: '{' expected.
Error:(3, 8) TS1005: '>' expected.
Error:(3, 13) TS1005: '{' expected.
Error:(3, 40) TS1005: ';' expected.
Error:(3, 48) TS1005: ';' expected.
Error:(3, 53) TS1005: ';' expected.
Error:(3, 56) TS1005: ';' expected.
Error:(3, 61) TS1005: ';' expected.
Error:(3, 67) TS1005: ';' expected.
Error:(3, 72) TS1005: ';' expected.
Error:(3, 77) TS1005: ';' expected.
Please sign in to leave a comment.
Problem is caused by https://github.com/Microsoft/TypeScript/issues/18322;
highlighting in HTML files should be fixed in 2017.3.4 (see https://youtrack.jetbrains.com/issue/WEB-30045)