[AAE-7242] fix eslint warnings for content services project (#7505)

* fix eslint warnings for content services project

* fix typing issues
This commit is contained in:
Denys Vuika
2022-02-17 15:23:38 +00:00
committed by GitHub
parent bca5a783ab
commit 9f72e30fbc
158 changed files with 2604 additions and 2715 deletions

View File

@@ -41,9 +41,7 @@ import { debounceTime, takeUntil } from 'rxjs/operators';
encapsulation: ViewEncapsulation.None,
preserveWhitespaces: false,
exportAs: 'searchAutocomplete',
host: {
'class': 'adf-search'
}
host: { class: 'adf-search' }
})
export class SearchComponent implements SearchComponentInterface, AfterContentInit, OnChanges, OnDestroy {
@@ -168,7 +166,7 @@ export class SearchComponent implements SearchComponentInterface, AfterContentIn
onSearchDataLoaded(resultSetPaging: ResultSetPaging) {
if (resultSetPaging) {
this.results = <NodePaging> resultSetPaging;
this.results = resultSetPaging as NodePaging;
this.resultLoaded.emit(this.results);
this.isOpen = true;
this.setVisibility();