From 45e5961705fef17ecd012163dbdb531a5bdde8fb Mon Sep 17 00:00:00 2001 From: RabsRincon Date: Mon, 23 May 2022 12:32:12 +0200 Subject: [PATCH] Add type explicitly --- static/compiler-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/compiler-service.ts b/static/compiler-service.ts index ce83f3247..dc85f1f9d 100644 --- a/static/compiler-service.ts +++ b/static/compiler-service.ts @@ -132,7 +132,7 @@ export class CompilerService { }; } - public getGroupsInUse(langId: string) { + public getGroupsInUse(langId: string): {value: string, label: string}[] { return _.chain(this.getCompilersForLang(langId)) .map((compiler: Compiler) => compiler) .uniq(false, compiler => compiler.group)