Skip to content

Commit 18ffc20

Browse files
resolve conflict
resolve conflict
2 parents 086167b + 965e812 commit 18ffc20

File tree

4 files changed

+97
-6
lines changed

4 files changed

+97
-6
lines changed

baselines/dom.generated.d.ts

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10370,17 +10370,16 @@ declare var Storage: {
1037010370
}
1037110371

1037210372
interface StorageEvent extends Event {
10373-
key: string;
10374-
newValue: any;
10375-
oldValue: any;
10376-
storageArea: Storage;
1037710373
url: string;
10378-
initStorageEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, keyArg: string, oldValueArg: any, newValueArg: any, urlArg: string, storageAreaArg: Storage): void;
10374+
key?: string;
10375+
oldValue?: string;
10376+
newValue?: string;
10377+
storageArea?: Storage;
1037910378
}
1038010379

1038110380
declare var StorageEvent: {
1038210381
prototype: StorageEvent;
10383-
new(): StorageEvent;
10382+
new (type: string, eventInitDict?: StorageEventInit): StorageEvent;
1038410383
}
1038510384

1038610385
interface StyleMedia {
@@ -12580,6 +12579,14 @@ interface XMLHttpRequestEventTarget {
1258012579
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
1258112580
}
1258212581

12582+
interface StorageEventInit extends EventInit {
12583+
key?: string;
12584+
oldValue?: string;
12585+
newValue?: string;
12586+
url: string;
12587+
storageArea?: Storage;
12588+
}
12589+
1258312590
interface IDBObjectStoreParameters {
1258412591
keyPath?: string | string[];
1258512592
autoIncrement?: boolean;

inputfiles/addedTypes.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,32 @@
11
[
2+
{
3+
"kind": "interface",
4+
"name": "StorageEventInit",
5+
"flavor": "Web",
6+
"extends": "EventInit",
7+
"properties": [
8+
{
9+
"name": "key?",
10+
"type": "string"
11+
},
12+
{
13+
"name": "oldValue?",
14+
"type": "string"
15+
},
16+
{
17+
"name": "newValue?",
18+
"type": "string"
19+
},
20+
{
21+
"name": "url",
22+
"type": "string"
23+
},
24+
{
25+
"name": "storageArea?",
26+
"type": "Storage"
27+
}
28+
]
29+
},
230
{
331
"kind": "interface",
432
"name": "IDBObjectStoreParameters",
@@ -308,5 +336,29 @@
308336
"interface": "HTMLCanvasElement",
309337
"name": "toBlob",
310338
"signatures": ["toBlob(): Blob"]
339+
},
340+
{
341+
"kind": "property",
342+
"interface": "StorageEvent",
343+
"name": "key?",
344+
"type": "string"
345+
},
346+
{
347+
"kind": "property",
348+
"interface": "StorageEvent",
349+
"name": "oldValue?",
350+
"type": "string"
351+
},
352+
{
353+
"kind": "property",
354+
"interface": "StorageEvent",
355+
"name": "newValue?",
356+
"type": "string"
357+
},
358+
{
359+
"kind": "property",
360+
"interface": "StorageEvent",
361+
"name": "storageArea?",
362+
"type": "Storage"
311363
}
312364
]

inputfiles/overridingTypes.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,13 @@
313313
"interface": "DataTransferItemList",
314314
"signatures": ["[index: number]: DataTransferItem"]
315315
},
316+
{
317+
"kind": "constructor",
318+
"interface": "StorageEvent",
319+
"signatures": [
320+
"new (type: string, eventInitDict?: StorageEventInit): StorageEvent"
321+
]
322+
},
316323
{
317324
"kind": "method",
318325
"interface": "Window",

inputfiles/removedTypes.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,30 @@
1818
"kind": "method",
1919
"interface": "HTMLElement",
2020
"name": "contains"
21+
},
22+
{
23+
"kind": "method",
24+
"interface": "StorageEvent",
25+
"name": "initStorageEvent"
26+
},
27+
{
28+
"kind": "property",
29+
"interface": "StorageEvent",
30+
"name": "key"
31+
},
32+
{
33+
"kind": "property",
34+
"interface": "StorageEvent",
35+
"name": "oldValue"
36+
},
37+
{
38+
"kind": "property",
39+
"interface": "StorageEvent",
40+
"name": "newValue"
41+
},
42+
{
43+
"kind": "property",
44+
"interface": "StorageEvent",
45+
"name": "storageArea"
2146
}
2247
]

0 commit comments

Comments
 (0)