aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/globals.d.ts
blob: aaaab851a263b221d502e676fae4b0f61280ff64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { SBObject } from "./config";
declare global {
    interface Window { SB: SBObject }
    // Remove this once the API becomes stable and types are shipped in @types/chrome
    namespace chrome {
        namespace declarativeContent {
            export interface RequestContentScriptOptions {
                allFrames?: boolean;
                css?: string[];
                instanceType?: "declarativeContent.RequestContentScript";
                js?: string[];
                matchAboutBlanck?: boolean;
            }
            export class RequestContentScript {
                constructor(options: RequestContentScriptOptions);
            }
        }
    }
}