mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-09 21:26:49 +08:00
corrected return type
This commit is contained in:
parent
6ec8645b8c
commit
34659f471d
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ class Input {
|
|||
}
|
||||
}
|
||||
|
||||
getHistoryLast(): string {
|
||||
getHistoryLast(): string | undefined {
|
||||
return this.history[this.history.length - 1];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue