diff options
author | Ajay Ramachandran <[email protected]> | 2021-07-29 21:25:49 -0400 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2021-07-29 21:25:49 -0400 |
commit | bcb981ae3dc9d783ecf0c69b7ed2118549ab79c7 (patch) | |
tree | c580321c1db3c328e73f013fe1a3cfa784899e78 | |
parent | 8d83076ea19e0c87706b2261e9f857960eaea8b8 (diff) | |
download | SponsorBlock-bcb981ae3dc9d783ecf0c69b7ed2118549ab79c7.tar.gz SponsorBlock-bcb981ae3dc9d783ecf0c69b7ed2118549ab79c7.zip |
Fix type issue
-rw-r--r-- | src/content.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content.ts b/src/content.ts index 9ee55c94..8007707d 100644 --- a/src/content.ts +++ b/src/content.ts @@ -123,7 +123,7 @@ const manualSkipPercentCount = 0.5; //get messages from the background script and the popup chrome.runtime.onMessage.addListener(messageListener); -function messageListener(request: Message, sender: unknown, sendResponse: (response: MessageResponse) => void): Promise<void> { +function messageListener(request: Message, sender: unknown, sendResponse: (response: MessageResponse) => void): void { //messages from popup script switch(request.message){ case "update": |