mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-02 08:59:59 -06:00
Add type explicitly
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user