From 5fd69a5d91e7e61ecbba17ed4dc8e6d07e39ae48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Mon, 20 Nov 2023 16:49:11 +0100 Subject: [PATCH] MOBILE-3947 chore: Auto fixes and disabled rules exceptions --- .../compile/components/compile-html/compile-html.ts | 6 +++--- src/core/utils/async-instance.ts | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/core/features/compile/components/compile-html/compile-html.ts b/src/core/features/compile/components/compile-html/compile-html.ts index 97edd3397..1a6fad10b 100644 --- a/src/core/features/compile/components/compile-html/compile-html.ts +++ b/src/core/features/compile/components/compile-html/compile-html.ts @@ -92,7 +92,7 @@ export class CoreCompileHtmlComponent implements OnChanges, OnDestroy, DoCheck { } /** - * Detect and act upon changes that Angular can’t or won’t detect on its own (objects and arrays). + * @inheritdoc */ ngDoCheck(): void { if (!this.componentInstance || this.creatingComponent) { @@ -111,7 +111,7 @@ export class CoreCompileHtmlComponent implements OnChanges, OnDestroy, DoCheck { } /** - * Detect changes on input properties. + * @inheritdoc */ async ngOnChanges(changes: Record): Promise { // Only compile if text/javascript has changed or the forceCompile flag has been set to true. @@ -148,7 +148,7 @@ export class CoreCompileHtmlComponent implements OnChanges, OnDestroy, DoCheck { } /** - * Component destroyed. + * @inheritdoc */ ngOnDestroy(): void { this.componentRef?.destroy(); diff --git a/src/core/utils/async-instance.ts b/src/core/utils/async-instance.ts index 187f64c19..088ff66b0 100644 --- a/src/core/utils/async-instance.ts +++ b/src/core/utils/async-instance.ts @@ -117,7 +117,6 @@ export interface AsyncInstanceWrapper< resetInstance(): void; } -// eslint-disable-next-line @typescript-eslint/ban-types export type AsyncObject = object; /**