style: fix linting issues met ESLint
This commit is contained in:
parent
a30c4d0d32
commit
aa1a85e64e
24 changed files with 76 additions and 90 deletions
|
@ -2,8 +2,8 @@ import {LearningObjectExample} from "./learning-object-example";
|
|||
import {LearningObject} from "../../../src/entities/content/learning-object.entity";
|
||||
|
||||
export function createExampleLearningObjectWithAttachments(example: LearningObjectExample): LearningObject {
|
||||
let learningObject = example.createLearningObject();
|
||||
for (let creationFn of Object.values(example.createAttachment)) {
|
||||
const learningObject = example.createLearningObject();
|
||||
for (const creationFn of Object.values(example.createAttachment)) {
|
||||
learningObject.attachments.push(creationFn(learningObject));
|
||||
}
|
||||
return learningObject;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue