@decaf-ts/for-angular 0.0.34 → 0.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2747,12 +2747,13 @@ class NgxDecafComponentDirective extends LoggedClass {
2747
2747
  this.locale = this.localeContext;
2748
2748
  }
2749
2749
  translate(phrase, params) {
2750
- return new Promise((resolve, reject) => {
2750
+ return new Promise((resolve) => {
2751
2751
  if (typeof params === Primitives.STRING)
2752
2752
  params = { "0": params };
2753
- return firstValueFrom(this.translateService.get(phrase, (params || {})));
2753
+ return resolve(firstValueFrom(this.translateService.get(phrase, (params || {}))));
2754
2754
  });
2755
2755
  }
2756
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
2756
2757
  async initialize(...args) {
2757
2758
  this.initialized = true;
2758
2759
  }
@@ -4279,6 +4280,7 @@ class NgxFormDirective extends NgxParentComponentDirective {
4279
4280
  * @returns {Promise<void>}
4280
4281
  * @memberOf CrudFormComponent
4281
4282
  */
4283
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
4282
4284
  async ngOnInit(model) {
4283
4285
  // dont call super.ngOnInit to model conflicts
4284
4286
  if (this.operation === OperationKeys.READ || this.operation === OperationKeys.DELETE)