corrected return type

This commit is contained in:
Miodec 2022-04-27 16:03:59 +02:00
parent 6ec8645b8c
commit 34659f471d

View file

@ -80,7 +80,7 @@ class Input {
}
}
getHistoryLast(): string {
getHistoryLast(): string | undefined {
return this.history[this.history.length - 1];
}
}