mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 16:42:56 +00:00
refactor: temporary fix for wrong typing
This commit is contained in:
@@ -54,7 +54,8 @@ export async function getProjects(api: Api, groups: number[]): Promise<Project[]
|
||||
* @param arr Flattened array
|
||||
*/
|
||||
export function flatten2dArray<T>(arr: T[][]): T[] {
|
||||
return [].concat.apply([], arr);
|
||||
// TODO: fix this
|
||||
return [].concat.apply([], arr as any);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user