Fix tests

This commit is contained in:
Pieter Vander Vennet 2022-04-06 03:11:26 +02:00
parent 54d7a3a52b
commit 9d961b3672

View file

@ -223,7 +223,7 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
/**
* In the given list, all values which are lists will be merged with the values, e.g.
*
* Utils.Flatten([ [1,2], 2, [4, [5 ,6]] ]) // => [1, 2, 3, 4, [5, 6]]
* Utils.Flatten([ [1,2], 3, [4, [5 ,6]] ]) // => [1, 2, 3, 4, [5, 6]]
*/
public static Flatten<T>(list: (T | T[])[]): T[] {
const result = []