refactor: no-inferrable-types
This commit is contained in:
parent
e1aba11222
commit
e84c772916
14 changed files with 22 additions and 18 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue