Fix some bugs

This commit is contained in:
Schmelczer András 2020-01-12 20:26:32 +01:00
parent 1893b774e7
commit fd14613db7
123 changed files with 187 additions and 31 deletions

2
src/framework/helper/last.ts Normal file → Executable file
View file

@ -1,2 +1,2 @@
export const last = <T>(list: Array<T>): T =>
export const last = <T>(list: ArrayLike<T>): T =>
list.length >= 1 ? list[list.length - 1] : undefined;