Open AmruthaFR opened 3 years ago
from @angular-redux/ form i import the below for the project : import { composeReducers, defaultFormReducer } from '@angular-redux/form'; export const rootReducer = composeReducers( defaultFormReducer(),
import { provideReduxForms } from '@angular-redux/form'; provideReduxForms(store);
Current Behavior: Updated my project from Angular 8 to Angular 10.
package.json contains :
"@angular-redux/form": "6.7.0", "@angular-redux/store": "7.1.1", "@angular/cdk": "10.2.5", "@angular/common": "10.1.6", "@angular/core": "10.1.6", "@angular/flex-layout": "10.0.0-beta.32", "@angular/forms": "10.1.6", "redux": "3.7.2", "redux-logger": "3.0.6", "redux-observable": "0.17.0", "redux-observable-es6-compat": "1.2.1", "rxjs": "6.6.3", "rxjs-compat": "6.5.3" After migrating to Angular 10 , i am getting below error,
Error
ERROR in node_modules/@angular-redux/form/dist/source/connect-array/connect-array.d.ts:29:14 - error TS2610: 'formDirective' is defined as an accessor in class 'ControlContainer', but is overridden here in 'ConnectArray' as an instance property.
29 readonly formDirective: FormGroupDirective;