[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

@@ -66,6 +66,7 @@ export class FileDraggableDirective implements OnInit, OnDestroy {
/**
* Method called when files is dropped in the drag and drop area.
*
* @param event DOM event.
*/
onDropFiles(event: any): void {
@@ -77,6 +78,7 @@ export class FileDraggableDirective implements OnInit, OnDestroy {
if (items) {
const files: File[] = [];
// eslint-disable-next-line @typescript-eslint/prefer-for-of
for (let i = 0; i < items.length; i++) {
if (items[i].webkitGetAsEntry) {
const item = items[i].webkitGetAsEntry();