src/app/core/export/download-service/download.service.ts
Function exportFile
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async exportFile(data: any[], entityConstructor: EntityConstructor) {
const entitySchema = entityConstructor.schema;
const columnLabels = new Map<string, string>();
for (const [id, field] of entitySchema.entries()) {