Upgrading ionic 5 to 6 led to this breaking changes :Property ‘set’ does not exist on type ‘Config’

  Kiến thức lập trình

Error: src/app/app.component.ts:43:19 – error TS2339: Property ‘set’ does not exist on type ‘Config’.
[ERROR]
[ERROR] 43 this.config.set(‘backButtonText’, this.translateService.instant(‘button.back’));

and this is the code

      this.config.set('backButtonText', this.translateService.instant('button.back'));

I updated ionic 5 to 6, Angular version is 13

LEAVE A COMMENT