MOBILE-3947 chore: Auto fixes and disabled rules exceptions
parent
af22db5605
commit
5fd69a5d91
|
@ -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<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();
|
||||
|
|
|
@ -117,7 +117,6 @@ export interface AsyncInstanceWrapper<
|
|||
resetInstance(): void;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
export type AsyncObject = object;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue