Skip to content

Commit 4f9a03d

Browse files
authored
Merge pull request #413 from KamiQuasi/update-event-interface
Update to WHATWG DOM Living Standard for Events
2 parents 00566da + 4a1abb9 commit 4f9a03d

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.paket/paket.bootstrapper.exe

30 KB
Binary file not shown.

baselines/dom.generated.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ interface ErrorEventInit extends EventInit {
294294
interface EventInit {
295295
bubbles?: boolean;
296296
cancelable?: boolean;
297-
scoped?: boolean;
297+
composed?: boolean;
298298
}
299299

300300
interface EventListenerOptions {
@@ -4611,12 +4611,12 @@ interface Event {
46114611
readonly bubbles: boolean;
46124612
cancelBubble: boolean;
46134613
readonly cancelable: boolean;
4614+
readonly composed: boolean;
46144615
readonly currentTarget: EventTarget | null;
46154616
readonly defaultPrevented: boolean;
46164617
readonly eventPhase: number;
46174618
readonly isTrusted: boolean;
46184619
returnValue: boolean;
4619-
readonly scoped: boolean;
46204620
readonly srcElement: Element | null;
46214621
readonly target: EventTarget | null;
46224622
readonly timeStamp: number;

baselines/webworker.generated.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ interface ErrorEventInit extends EventInit {
4141
interface EventInit {
4242
bubbles?: boolean;
4343
cancelable?: boolean;
44-
scoped?: boolean;
44+
composed?: boolean;
4545
}
4646

4747
interface EventListenerOptions {
@@ -464,12 +464,12 @@ interface Event {
464464
readonly bubbles: boolean;
465465
cancelBubble: boolean;
466466
readonly cancelable: boolean;
467+
readonly composed: boolean;
467468
readonly currentTarget: EventTarget | null;
468469
readonly defaultPrevented: boolean;
469470
readonly eventPhase: number;
470471
readonly isTrusted: boolean;
471472
returnValue: boolean;
472-
readonly scoped: boolean;
473473
readonly srcElement: object | null;
474474
readonly target: EventTarget | null;
475475
readonly timeStamp: number;

inputfiles/addedTypes.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1320,8 +1320,8 @@
13201320
"name": "Event",
13211321
"properties": {
13221322
"property": {
1323-
"scoped": {
1324-
"name": "scoped",
1323+
"composed": {
1324+
"name": "composed",
13251325
"read-only": 1,
13261326
"override-type": "boolean"
13271327
}
@@ -2858,8 +2858,8 @@
28582858
"name": "EventInit",
28592859
"members": {
28602860
"member": {
2861-
"scoped": {
2862-
"name": "scoped",
2861+
"composed": {
2862+
"name": "composed",
28632863
"override-type": "boolean",
28642864
"required": 0
28652865
}

0 commit comments

Comments
 (0)