anvilsign in

collin/browser-terminal-extension

1{
2 // The service worker: sw.js plus the one file it importScripts. It keeps the
3 // DOM lib even though a worker has no DOM — picker.js only *defines*
4 // tbPickElement here; the body runs in the page, injected by
5 // scripting.executeScript, and has to be checked against the page's globals.
6 // (lib.webworker and lib.dom cannot both be loaded — they redeclare each
7 // other. `importScripts` is declared in types/worker.d.ts instead.)
8 "extends": "./jsconfig.base.json",
9 "compilerOptions": {
10 "lib": ["ES2022", "DOM", "DOM.Iterable"]
11 },
12 "include": ["sw.js", "picker.js", "lib/shot.js", "types/globals.d.ts", "types/worker.d.ts"]
13}