remove ts-ignore from background.js

This commit is contained in:
SethBurkart123
2023-12-05 07:15:33 +11:00
parent eacf0f7209
commit c7c2a8085d
+1 -2
View File
@@ -72,8 +72,7 @@ function reloadSeqtaPages() {
// Helper function to handle setting permissions // Helper function to handle setting permissions
// Main message listener // Main message listener
// @ts-ignore idk why but sender is required for it to work browser.runtime.onMessage.addListener((request: any, _sender: any, sendResponse: any) => {
browser.runtime.onMessage.addListener((request: any, sender: any, sendResponse: any) => {
switch (request.type) { switch (request.type) {
case 'reloadTabs': case 'reloadTabs':
reloadSeqtaPages(); reloadSeqtaPages();