aboutsummaryrefslogtreecommitdiff
path: root/types
diff options
context:
space:
mode:
Diffstat (limited to 'types')
-rw-r--r--types/ext/script-manager.d.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/types/ext/script-manager.d.ts b/types/ext/script-manager.d.ts
index 66a5c20f..6a1f9e26 100644
--- a/types/ext/script-manager.d.ts
+++ b/types/ext/script-manager.d.ts
@@ -29,6 +29,8 @@ export type RegistrationDetails = {
css?: string[];
/** List of script paths. */
js?: string[];
+ /** The execution world for the script. */
+ world?: ExecutionWorld;
};
export type ContentScriptInjectionDetails = {
@@ -39,3 +41,5 @@ export type ContentScriptInjectionDetails = {
js?: string[];
urlRegex: RegExp | null;
};
+
+export type ExecutionWorld = 'MAIN' | 'ISOLATED';