As I transition from Angular 8 to Angular 9, I encounter an error during the step related to transitioning undecorated classes with DI.
While attempting to migrate, I faced an issue with undecorated classes that utilize dependency injection. Some project targets could not be properly analyzed due to TypeScript program failures.
The specific error message I received was: error TS100: src\app\app.module.ts(107,25): Error during template compile of 'AppModule' Function calls are not supported in decorators but 'combineReducers' was called in 'appReducers' 'appReducers' references 'modelReducer' at src\app\store\reducers\index.ts(13,10) 'modelReducer' calls 'combineReducers' at src\app\store\reducers\model.ts(25,29).
Do you have any insights on why this error is occurring?