Skip to content

Commit

Permalink
extension: Fix types which are changed in latest @types/chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhjacobs committed Jan 6, 2025
1 parent 80a8e03 commit 69b98d4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion web/packages/extension/src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,11 @@ async function disable() {
await disableSWFTakeover();
}

async function onAdded(permissions: chrome.permissions.Permissions) {
async function onAdded(
permissions:
| browser.permissions.Permissions
| chrome.permissions.Permissions,
) {
if (
permissions.origins &&
permissions.origins.length >= 1 &&
Expand Down

0 comments on commit 69b98d4

Please sign in to comment.