refactor(backend): explicit-function-return-type

This commit is contained in:
Tibo De Peuter 2025-03-22 18:01:17 +01:00
parent 7a286f5650
commit 5ec62554e3
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2

View file

@ -13,7 +13,7 @@ export type ConditionTestLearningPathAndLearningObjects = {
learningPath: LearningPath;
};
export function createConditionTestLearningPathAndLearningObjects() {
export function createConditionTestLearningPathAndLearningObjects(): ConditionTestLearningPathAndLearningObjects {
const learningPath = new LearningPath();
learningPath.hruid = `${getEnvVar(envVars.UserContentPrefix)}test_conditions`;
learningPath.language = Language.English;