#javascript #angular #ngrx #angular10 #angular-redux
#javascript #угловой #ngrx #angular10 #angular-redux
Вопрос:
Обновил мой проект с Angular 8 до Angular 10.
package.json содержит :
"@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"
После перехода на Angular 10 я получаю сообщение об ошибке ниже,
Ошибка
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;
~~~~~~~~~~~~~
node_modules/@angular-redux/form/dist/source/connect-array/connect-array.d.ts:30:14 - error TS2610: 'path' is defined as an accessor in class 'ControlContainer', but is overridden here in 'ConnectArray' as an instance property.
30 readonly path: Array<string>;
Попытался обновить @angular-redux/form и @angular-redux/ store до последней версии, по-прежнему получая ту же ошибку.