refactor(backend): explicit-function-return-type
This commit is contained in:
parent
7a286f5650
commit
5ec62554e3
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ export type ConditionTestLearningPathAndLearningObjects = {
|
||||||
learningPath: LearningPath;
|
learningPath: LearningPath;
|
||||||
};
|
};
|
||||||
|
|
||||||
export function createConditionTestLearningPathAndLearningObjects() {
|
export function createConditionTestLearningPathAndLearningObjects(): ConditionTestLearningPathAndLearningObjects {
|
||||||
const learningPath = new LearningPath();
|
const learningPath = new LearningPath();
|
||||||
learningPath.hruid = `${getEnvVar(envVars.UserContentPrefix)}test_conditions`;
|
learningPath.hruid = `${getEnvVar(envVars.UserContentPrefix)}test_conditions`;
|
||||||
learningPath.language = Language.English;
|
learningPath.language = Language.English;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue