MOBILE-3947 chore: Auto fixes and disabled rules exceptions

main
Pau Ferrer Ocaña 2023-11-20 16:49:11 +01:00
parent af22db5605
commit 5fd69a5d91
2 changed files with 3 additions and 4 deletions

View File

@ -92,7 +92,7 @@ export class CoreCompileHtmlComponent implements OnChanges, OnDestroy, DoCheck {
}
/**
* Detect and act upon changes that Angular cant or wont 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<string, SimpleChange>): Promise<void> {
// 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();

View File

@ -117,7 +117,6 @@ export interface AsyncInstanceWrapper<
resetInstance(): void;
}
// eslint-disable-next-line @typescript-eslint/ban-types
export type AsyncObject = object;
/**