fix(facade): `ListWrapper.sort()` should not return the list
This is the semantics of the regular `Array.sort` in JS, so the wrapper should imitate this.
This commit is contained in:
parent
d8103aeca6
commit
f54f4e89e0
|
@ -187,7 +187,6 @@ export class ListWrapper {
|
|||
}
|
||||
static sort(l:List, compareFn:Function) {
|
||||
l.sort(compareFn);
|
||||
return l;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue