From af521f9a0f8fd2da622ce8e70f4ee46663af82d3 Mon Sep 17 00:00:00 2001 From: hensm Date: Wed, 26 Feb 2020 15:21:23 +0000 Subject: [PATCH] Hide build error for incorrect types --- ext/src/background/background.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/src/background/background.ts b/ext/src/background/background.ts index fc2107e..fec3189 100755 --- a/ext/src/background/background.ts +++ b/ext/src/background/background.ts @@ -513,6 +513,8 @@ async function initWhitelist () { return; } + // @ts-ignore + // Another issue with @types/firefox-webext-browser for (const ancestor of details.frameAncestors) { if (originUrlCache.includes(ancestor.url)) { for (const header of details.requestHeaders) {