We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a3d711 commit ab20d33Copy full SHA for ab20d33
index.ts
@@ -346,7 +346,7 @@ function clearHistoryInLocalStorage() {
346
localStorage.removeItem("calculatorHistory");
347
}
348
349
-function togglesClearHistoryButton(element: any) {
+function togglesClearHistoryButton(element: HTMLElement) {
350
clearHistoryBtn.classList.toggle("display", element.childElementCount > 0);
351
352
// functions creations ends
0 commit comments