refactor: no-inferrable-types

This commit is contained in:
Tibo De Peuter 2025-03-23 13:22:39 +01:00
parent e1aba11222
commit e84c772916
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
14 changed files with 22 additions and 18 deletions

View file

@ -3,6 +3,6 @@ import { Attachment } from '../../../src/entities/content/attachment.entity';
interface LearningObjectExample {
createLearningObject: () => LearningObject;
createAttachment: { [key: string]: (owner: LearningObject) => Attachment };
createAttachment: Record<string, (owner: LearningObject) => Attachment>;
getHTMLRendering: () => string;
}