Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: files incorrectly determined as not being in an Angular project
I have observed that the performance enhancement introduced in #1272 does not work in some situations. It appears that if I attempt to do operations in an external template before the language service is initialized, the template will be identified as not being inside an Angular project. The result of this incorrect determination is that we will not service requests for that file. This commit disables the check by always returning `true`, effectively marking every TS and HTML file as being inside an Angular project. There may be some performance degradation in non-Angular projects as a result due to additional file tokenization of TypeScript files. However, we do still expect this tokenization to be very fast and there should be no observable performance issues. #1330
- Loading branch information