Type errors for jasmine types
Hi,
since the latest Webstorm update, I suddenly get these annoying type errors in all of my unit tests. This used to work fine for years without fideling with anything in the typescript or linter config. I thought this could maybe come from the new Angular Typescript Language service, but disableling it, hasn't helped. The jasmine and jasminewd2 are included in my tsconfig and I have no idea, where to look further.
Also I wonder if the language powered type engines and the language services may interfere with each other. Do I still need to activate tslint?
Thanks
Sebastian

Please sign in to leave a comment.
Hi Sebastian,
The error comes from the ESLint linter. Such issues can occur if ESlint can not resolve the module,
which makes it to infer the type as
any. This must be an issue with the project configuration. What is a result of runningeslintin terminal for your app?No and no. The issue doesn't have any relation to the language powered type engines and the other language services. They do no interfere with ESLint in any way.
Thanks Elena, I just found the error: Obviously jasminwd2 types caused the problems, which emerged due to stricter rules with the new IDE version. I excluded them specifically for the unit tests and now everything works fines again.