chore(types): even more types

This commit is contained in:
Max Baumann
2020-12-13 21:11:23 +01:00
parent dde6b44005
commit 7b27de279b
4 changed files with 9 additions and 8 deletions

View File

@@ -1456,7 +1456,7 @@ function submitSponsorTimes() {
//send the message to the background js
//called after all the checks have been made that it's okay to do so
async function sendSubmitMessage(){
async function sendSubmitMessage(): Promise<void> {
//add loading animation
(<HTMLImageElement> document.getElementById("submitImage")).src = chrome.extension.getURL("icons/PlayerUploadIconSponsorBlocker256px.png");
document.getElementById("submitButton").style.animation = "rotate 1s 0s infinite";