Starts in:
2 DAYS
6 HRS
3 MIN
19 SEC
Starts in:
2 D
6 H
3 M
19 S
Open Closed

Upgrade to Abp Framework 8.2.1, Compile Error in abp-module/account/... personal-settings.component.ts #7619


User avatar
0
DominaTang created

Error: src/app/abp-modules/account/public/src/components/personal-settings/personal-settings.component.ts:61:5 - error TS2740: Type 'FormGroup' is missing the following properties from type 'FormGroup<any>': addValidators, addAsyncValidators, removeValidators, removeAsyncValidators, and 4 more.

61 this.form = generateFormFromProps(data);

Error: src/app/abp-modules/account/public/src/defaults/default-my-security-logs-entity-props.ts:15:5 - error TS2322: Type '(data: Omit<PropData<IdentitySecurityLogDto>, "data">) => Observable<string>' is not assignable to type 'PropCallback<IdentitySecurityLogDto, Observable<any>>'. Type 'Observable<string>' is missing the following properties from type 'Observable<any>': _isScalar, _trySubscribe, _subscribe

15 valueResolver: data => { ....


1 Answer(s)
  • User Avatar
    0
    DominaTang created

    This is also fixed by import '@abp/ng.components/extensible' instead of '@abp/ng.theme.shared/extensions'

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06