I’m using .forRoot()
while importing some of the modules in my app, for instance tooltip from ngx-bootstrap. After the last upgrade to Angular 6 an interesting warning appeared: Error during template compile of ‘moduleName’. Function calls are not supported in decorators but ‘moduleName’ was called.
For sure it has something to do with this: Error: The Angular Compiler requires TypeScript >=2.7.2 and <2.8.0 but 2.8.3 was found instead.
Angular 5 works fine with TS 2.8.3 and has no described issues what so ever.
Can please someone explain how to fix this and why on Earth would you release new version of Angular not compatible with the latest TS?