We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11df5fa commit 67d0354Copy full SHA for 67d0354
index.ts
@@ -30,7 +30,7 @@ window.addEventListener("DOMContentLoaded", () => {
30
createHistoryList(history, historyElement);
31
});
32
33
-function handleKeyPress(event: any) {
+function handleKeyPress(event: KeyboardEvent) {
34
const key = event.key;
35
const button = document.querySelector(`[data-value="${key}"]`) as HTMLElement;
36
if (button) {
0 commit comments