mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user