Skip to content

Commit 122830b

Browse files
committed
-
1 parent 9a330bf commit 122830b

10 files changed

+19
-18
lines changed

baselines/serviceworker.generated.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8599,7 +8599,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
85998599
*
86008600
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
86018601
*/
8602-
readonly self: WorkerGlobalScope;
8602+
readonly self: ServiceWorkerGlobalScope & typeof globalThis;
86038603
/**
86048604
* 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).
86058605
*
@@ -9073,7 +9073,7 @@ declare var onunhandledrejection: ((this: ServiceWorkerGlobalScope, ev: PromiseR
90739073
*
90749074
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
90759075
*/
9076-
declare var self: WorkerGlobalScope;
9076+
declare var self: ServiceWorkerGlobalScope & typeof globalThis;
90779077
/**
90789078
* 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).
90799079
*

baselines/sharedworker.generated.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8334,7 +8334,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
83348334
*
83358335
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
83368336
*/
8337-
readonly self: WorkerGlobalScope;
8337+
readonly self: ServiceWorkerGlobalScope & typeof globalThis;
83388338
/**
83398339
* 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).
83408340
*
@@ -8989,7 +8989,7 @@ declare var onunhandledrejection: ((this: SharedWorkerGlobalScope, ev: PromiseRe
89898989
*
89908990
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
89918991
*/
8992-
declare var self: WorkerGlobalScope;
8992+
declare var self: ServiceWorkerGlobalScope & typeof globalThis;
89938993
/**
89948994
* 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).
89958995
*

baselines/ts5.5/serviceworker.generated.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8599,7 +8599,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
85998599
*
86008600
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
86018601
*/
8602-
readonly self: WorkerGlobalScope;
8602+
readonly self: ServiceWorkerGlobalScope & typeof globalThis;
86038603
/**
86048604
* 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).
86058605
*
@@ -9073,7 +9073,7 @@ declare var onunhandledrejection: ((this: ServiceWorkerGlobalScope, ev: PromiseR
90739073
*
90749074
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
90759075
*/
9076-
declare var self: WorkerGlobalScope;
9076+
declare var self: ServiceWorkerGlobalScope & typeof globalThis;
90779077
/**
90789078
* 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).
90799079
*

baselines/ts5.5/sharedworker.generated.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8334,7 +8334,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
83348334
*
83358335
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
83368336
*/
8337-
readonly self: WorkerGlobalScope;
8337+
readonly self: ServiceWorkerGlobalScope & typeof globalThis;
83388338
/**
83398339
* 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).
83408340
*
@@ -8989,7 +8989,7 @@ declare var onunhandledrejection: ((this: SharedWorkerGlobalScope, ev: PromiseRe
89898989
*
89908990
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
89918991
*/
8992-
declare var self: WorkerGlobalScope;
8992+
declare var self: ServiceWorkerGlobalScope & typeof globalThis;
89938993
/**
89948994
* 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).
89958995
*

baselines/ts5.5/webworker.generated.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9567,7 +9567,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
95679567
*
95689568
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
95699569
*/
9570-
readonly self: WorkerGlobalScope;
9570+
readonly self: ServiceWorkerGlobalScope & typeof globalThis;
95719571
/**
95729572
* 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).
95739573
*
@@ -10253,7 +10253,7 @@ declare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: Promis
1025310253
*
1025410254
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
1025510255
*/
10256-
declare var self: WorkerGlobalScope;
10256+
declare var self: ServiceWorkerGlobalScope & typeof globalThis;
1025710257
/**
1025810258
* 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).
1025910259
*

baselines/ts5.6/serviceworker.generated.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8599,7 +8599,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
85998599
*
86008600
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
86018601
*/
8602-
readonly self: WorkerGlobalScope;
8602+
readonly self: ServiceWorkerGlobalScope & typeof globalThis;
86038603
/**
86048604
* 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).
86058605
*
@@ -9073,7 +9073,7 @@ declare var onunhandledrejection: ((this: ServiceWorkerGlobalScope, ev: PromiseR
90739073
*
90749074
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
90759075
*/
9076-
declare var self: WorkerGlobalScope;
9076+
declare var self: ServiceWorkerGlobalScope & typeof globalThis;
90779077
/**
90789078
* 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).
90799079
*

baselines/ts5.6/sharedworker.generated.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8334,7 +8334,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
83348334
*
83358335
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
83368336
*/
8337-
readonly self: WorkerGlobalScope;
8337+
readonly self: ServiceWorkerGlobalScope & typeof globalThis;
83388338
/**
83398339
* 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).
83408340
*
@@ -8989,7 +8989,7 @@ declare var onunhandledrejection: ((this: SharedWorkerGlobalScope, ev: PromiseRe
89898989
*
89908990
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
89918991
*/
8992-
declare var self: WorkerGlobalScope;
8992+
declare var self: ServiceWorkerGlobalScope & typeof globalThis;
89938993
/**
89948994
* 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).
89958995
*

baselines/ts5.6/webworker.generated.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9567,7 +9567,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
95679567
*
95689568
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
95699569
*/
9570-
readonly self: WorkerGlobalScope;
9570+
readonly self: ServiceWorkerGlobalScope & typeof globalThis;
95719571
/**
95729572
* 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).
95739573
*
@@ -10253,7 +10253,7 @@ declare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: Promis
1025310253
*
1025410254
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
1025510255
*/
10256-
declare var self: WorkerGlobalScope;
10256+
declare var self: ServiceWorkerGlobalScope & typeof globalThis;
1025710257
/**
1025810258
* 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).
1025910259
*

baselines/webworker.generated.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9567,7 +9567,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
95679567
*
95689568
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
95699569
*/
9570-
readonly self: WorkerGlobalScope;
9570+
readonly self: ServiceWorkerGlobalScope & typeof globalThis;
95719571
/**
95729572
* 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).
95739573
*
@@ -10253,7 +10253,7 @@ declare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: Promis
1025310253
*
1025410254
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
1025510255
*/
10256-
declare var self: WorkerGlobalScope;
10256+
declare var self: ServiceWorkerGlobalScope & typeof globalThis;
1025710257
/**
1025810258
* 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).
1025910259
*

inputfiles/overridingTypes.jsonc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3337,6 +3337,7 @@
33373337
}
33383338
},
33393339
"WorkerGlobalScope": {
3340+
"properties": {
33403341
"property": {
33413342
"self": {
33423343
"overrideType": "ServiceWorkerGlobalScope & typeof globalThis"

0 commit comments

Comments
 (0)