refactor: remove dead code, add more types

This commit is contained in:
Max Baumann
2020-12-14 23:37:35 +01:00
parent 70667a43d7
commit 5d0559aebd
10 changed files with 35 additions and 26 deletions

View File

@@ -119,8 +119,7 @@ class Utils {
const rule = {
id: "invidious",
conditions,
// This API is experimental and not visible by the TypeScript compiler
actions: [new (<any> chrome.declarativeContent).RequestContentScript({
actions: [new chrome.declarativeContent.RequestContentScript({
allFrames: true,
js: self.js,
css: self.css