From 34659f471dd36dd1b41010c02bc872c850a06a51 Mon Sep 17 00:00:00 2001 From: Miodec Date: Wed, 27 Apr 2022 16:03:59 +0200 Subject: [PATCH] corrected return type --- frontend/src/ts/test/test-input.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/ts/test/test-input.ts b/frontend/src/ts/test/test-input.ts index 0cf46048b..340db1bc3 100644 --- a/frontend/src/ts/test/test-input.ts +++ b/frontend/src/ts/test/test-input.ts @@ -80,7 +80,7 @@ class Input { } } - getHistoryLast(): string { + getHistoryLast(): string | undefined { return this.history[this.history.length - 1]; } }