mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-04-22 06:09:14 +00:00
refactor: update to Angular 17
This commit is contained in:
@@ -52,5 +52,5 @@ export function groupByStable(collection, group) {
|
||||
* @returns {Record<string, T[]>}
|
||||
*/
|
||||
export function groupByProperty(collection, property) {
|
||||
return groupBy(collection, item => item[property]);
|
||||
return groupBy(collection, item => /** @type {string} */ (item[property]));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user