diff --git a/src/background.ts b/src/background.ts index c3a08f43..77f17fd9 100644 --- a/src/background.ts +++ b/src/background.ts @@ -184,7 +184,7 @@ function submitVote(type, UUID, callback) { }); } -async function submitTimes(videoID, callback) { +async function submitTimes(videoID: string, callback) { //get the video times from storage let sponsorTimes = Config.config.sponsorTimes.get(videoID); let userID = Config.config.userID; diff --git a/src/components/SponsorTimeEditComponent.tsx b/src/components/SponsorTimeEditComponent.tsx index 118bd074..5bd59fa9 100644 --- a/src/components/SponsorTimeEditComponent.tsx +++ b/src/components/SponsorTimeEditComponent.tsx @@ -248,7 +248,7 @@ class SponsorTimeEditComponent extends React.Component