Add type explicitly

This commit is contained in:
RabsRincon
2022-05-23 12:32:12 +02:00
parent 6512ad13bc
commit 45e5961705
+1 -1
View File
@@ -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)