forked from MapComplete/MapComplete
Fix tests
This commit is contained in:
parent
54d7a3a52b
commit
9d961b3672
1 changed files with 1 additions and 1 deletions
2
Utils.ts
2
Utils.ts
|
@ -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.
|
* 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[] {
|
public static Flatten<T>(list: (T | T[])[]): T[] {
|
||||||
const result = []
|
const result = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue