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 => { ....

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

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'

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.