diff --git a/baselines/serviceworker.generated.d.ts b/baselines/serviceworker.generated.d.ts index e248aceaa..f93638160 100644 --- a/baselines/serviceworker.generated.d.ts +++ b/baselines/serviceworker.generated.d.ts @@ -8599,7 +8599,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self) */ - readonly self: WorkerGlobalScope & typeof globalThis; + readonly self: ServiceWorkerGlobalScope & typeof globalThis; /** * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss). * @@ -9073,7 +9073,7 @@ declare var onunhandledrejection: ((this: ServiceWorkerGlobalScope, ev: PromiseR * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self) */ -declare var self: WorkerGlobalScope & typeof globalThis; +declare var self: ServiceWorkerGlobalScope & typeof globalThis; /** * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss). * diff --git a/baselines/sharedworker.generated.d.ts b/baselines/sharedworker.generated.d.ts index 9d750580d..a3eeee8a7 100644 --- a/baselines/sharedworker.generated.d.ts +++ b/baselines/sharedworker.generated.d.ts @@ -8334,7 +8334,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self) */ - readonly self: WorkerGlobalScope & typeof globalThis; + readonly self: ServiceWorkerGlobalScope & typeof globalThis; /** * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss). * @@ -8989,7 +8989,7 @@ declare var onunhandledrejection: ((this: SharedWorkerGlobalScope, ev: PromiseRe * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self) */ -declare var self: WorkerGlobalScope & typeof globalThis; +declare var self: ServiceWorkerGlobalScope & typeof globalThis; /** * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss). * diff --git a/baselines/ts5.5/serviceworker.generated.d.ts b/baselines/ts5.5/serviceworker.generated.d.ts index 8eae809df..ca4a6af3c 100644 --- a/baselines/ts5.5/serviceworker.generated.d.ts +++ b/baselines/ts5.5/serviceworker.generated.d.ts @@ -8599,7 +8599,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self) */ - readonly self: WorkerGlobalScope & typeof globalThis; + readonly self: ServiceWorkerGlobalScope & typeof globalThis; /** * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss). * @@ -9073,7 +9073,7 @@ declare var onunhandledrejection: ((this: ServiceWorkerGlobalScope, ev: PromiseR * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self) */ -declare var self: WorkerGlobalScope & typeof globalThis; +declare var self: ServiceWorkerGlobalScope & typeof globalThis; /** * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss). * diff --git a/baselines/ts5.5/sharedworker.generated.d.ts b/baselines/ts5.5/sharedworker.generated.d.ts index e0df20411..a0fe07f1c 100644 --- a/baselines/ts5.5/sharedworker.generated.d.ts +++ b/baselines/ts5.5/sharedworker.generated.d.ts @@ -8334,7 +8334,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self) */ - readonly self: WorkerGlobalScope & typeof globalThis; + readonly self: ServiceWorkerGlobalScope & typeof globalThis; /** * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss). * @@ -8989,7 +8989,7 @@ declare var onunhandledrejection: ((this: SharedWorkerGlobalScope, ev: PromiseRe * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self) */ -declare var self: WorkerGlobalScope & typeof globalThis; +declare var self: ServiceWorkerGlobalScope & typeof globalThis; /** * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss). * diff --git a/baselines/ts5.5/webworker.generated.d.ts b/baselines/ts5.5/webworker.generated.d.ts index 2eb67b611..1ac9006df 100644 --- a/baselines/ts5.5/webworker.generated.d.ts +++ b/baselines/ts5.5/webworker.generated.d.ts @@ -9567,7 +9567,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self) */ - readonly self: WorkerGlobalScope & typeof globalThis; + readonly self: ServiceWorkerGlobalScope & typeof globalThis; /** * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss). * @@ -10253,7 +10253,7 @@ declare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: Promis * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self) */ -declare var self: WorkerGlobalScope & typeof globalThis; +declare var self: ServiceWorkerGlobalScope & typeof globalThis; /** * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss). * diff --git a/baselines/ts5.6/serviceworker.generated.d.ts b/baselines/ts5.6/serviceworker.generated.d.ts index 8eae809df..ca4a6af3c 100644 --- a/baselines/ts5.6/serviceworker.generated.d.ts +++ b/baselines/ts5.6/serviceworker.generated.d.ts @@ -8599,7 +8599,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self) */ - readonly self: WorkerGlobalScope & typeof globalThis; + readonly self: ServiceWorkerGlobalScope & typeof globalThis; /** * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss). * @@ -9073,7 +9073,7 @@ declare var onunhandledrejection: ((this: ServiceWorkerGlobalScope, ev: PromiseR * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self) */ -declare var self: WorkerGlobalScope & typeof globalThis; +declare var self: ServiceWorkerGlobalScope & typeof globalThis; /** * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss). * diff --git a/baselines/ts5.6/sharedworker.generated.d.ts b/baselines/ts5.6/sharedworker.generated.d.ts index e0df20411..a0fe07f1c 100644 --- a/baselines/ts5.6/sharedworker.generated.d.ts +++ b/baselines/ts5.6/sharedworker.generated.d.ts @@ -8334,7 +8334,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self) */ - readonly self: WorkerGlobalScope & typeof globalThis; + readonly self: ServiceWorkerGlobalScope & typeof globalThis; /** * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss). * @@ -8989,7 +8989,7 @@ declare var onunhandledrejection: ((this: SharedWorkerGlobalScope, ev: PromiseRe * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self) */ -declare var self: WorkerGlobalScope & typeof globalThis; +declare var self: ServiceWorkerGlobalScope & typeof globalThis; /** * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss). * diff --git a/baselines/ts5.6/webworker.generated.d.ts b/baselines/ts5.6/webworker.generated.d.ts index 2eb67b611..1ac9006df 100644 --- a/baselines/ts5.6/webworker.generated.d.ts +++ b/baselines/ts5.6/webworker.generated.d.ts @@ -9567,7 +9567,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self) */ - readonly self: WorkerGlobalScope & typeof globalThis; + readonly self: ServiceWorkerGlobalScope & typeof globalThis; /** * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss). * @@ -10253,7 +10253,7 @@ declare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: Promis * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self) */ -declare var self: WorkerGlobalScope & typeof globalThis; +declare var self: ServiceWorkerGlobalScope & typeof globalThis; /** * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss). * diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index 14209458d..e81522df1 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -9567,7 +9567,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self) */ - readonly self: WorkerGlobalScope & typeof globalThis; + readonly self: ServiceWorkerGlobalScope & typeof globalThis; /** * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss). * @@ -10253,7 +10253,7 @@ declare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: Promis * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self) */ -declare var self: WorkerGlobalScope & typeof globalThis; +declare var self: ServiceWorkerGlobalScope & typeof globalThis; /** * Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss). * diff --git a/inputfiles/overridingTypes.jsonc b/inputfiles/overridingTypes.jsonc index 4ad85c4a2..10e142727 100644 --- a/inputfiles/overridingTypes.jsonc +++ b/inputfiles/overridingTypes.jsonc @@ -3340,7 +3340,7 @@ "properties": { "property": { "self": { - "overrideType": "WorkerGlobalScope & typeof globalThis" + "overrideType": "ServiceWorkerGlobalScope & typeof globalThis" } } },