mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 09:07:45 +01:00
19 lines
679 B
TypeScript
19 lines
679 B
TypeScript
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);
|
|
}
|
|
}
|
|
}
|
|
}
|