Skip to content

Commit 24a4262

Browse files
committed
ClientTypes is an enum
1 parent f21f486 commit 24a4262

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

baselines/dom.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16573,7 +16573,6 @@ type RTCIceGatherCandidate = RTCIceCandidateDictionary | RTCIceCandidateComplete
1657316573
type RTCTransport = RTCDtlsTransport | RTCSrtpSdesTransport;
1657416574
type USVString = string;
1657516575
type payloadtype = number;
16576-
type ClientTypes = "window" | "worker" | "sharedworker" | "all";
1657716576
type MessageEventSource = Window | MessagePort | ServiceWorker;
1657816577
type AppendMode = "segments" | "sequence";
1657916578
type AudioContextLatencyCategory = "balanced" | "interactive" | "playback";
@@ -16584,6 +16583,7 @@ type CanPlayTypeResult = "" | "maybe" | "probably";
1658416583
type CanvasFillRule = "nonzero" | "evenodd";
1658516584
type ChannelCountMode = "max" | "clamped-max" | "explicit";
1658616585
type ChannelInterpretation = "speakers" | "discrete";
16586+
type ClientTypes = "window" | "worker" | "sharedworker" | "all";
1658716587
type DisplayCaptureSurfaceType = "monitor" | "window" | "application" | "browser";
1658816588
type DistanceModelType = "linear" | "inverse" | "exponential";
1658916589
type DocumentReadyState = "loading" | "interactive" | "complete";

baselines/webworker.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1883,9 +1883,9 @@ type GLushort = number;
18831883
type IDBKeyPath = string;
18841884
type USVString = string;
18851885
type payloadtype = number;
1886-
type ClientTypes = "window" | "worker" | "sharedworker" | "all";
18871886
type MessageEventSource = object | MessagePort | ServiceWorker;
18881887
type BinaryType = "blob" | "arraybuffer";
1888+
type ClientTypes = "window" | "worker" | "sharedworker" | "all";
18891889
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
18901890
type IDBRequestReadyState = "pending" | "done";
18911891
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";

inputfiles/addedTypes.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,15 @@
4343
},
4444
"enums": {
4545
"enum": {
46+
"ClientTypes": {
47+
"name": "ClientTypes",
48+
"value": [
49+
"window",
50+
"worker",
51+
"sharedworker",
52+
"all"
53+
]
54+
},
4655
"WorkerType": {
4756
"name": "WorkerType",
4857
"value": [
@@ -2998,10 +3007,6 @@
29983007
"new-type": "payloadtype",
29993008
"override-type": "number"
30003009
},
3001-
{
3002-
"new-type": "ClientTypes",
3003-
"override-type": "\"window\" | \"worker\" | \"sharedworker\" | \"all\""
3004-
},
30053010
{
30063011
"new-type": "MessageEventSource",
30073012
"type": [

0 commit comments

Comments
 (0)