File tree 2 files changed +38
-0
lines changed
2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -14138,6 +14138,16 @@ interface CustomElementRegistry {
14138
14138
whenDefined(name: string): PromiseLike<void>;
14139
14139
}
14140
14140
14141
+ interface PromiseRejectionEvent extends Event {
14142
+ readonly promise: PromiseLike<any>;
14143
+ readonly reason: any;
14144
+ }
14145
+
14146
+ interface PromiseRejectionEventInit extends EventInit {
14147
+ promise: PromiseLike<any>;
14148
+ reason?: any;
14149
+ }
14150
+
14141
14151
declare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
14142
14152
14143
14153
interface ErrorEventHandler {
Original file line number Diff line number Diff line change 1409
1409
"interface" : " Window" ,
1410
1410
"name" : " customElements" ,
1411
1411
"type" : " CustomElementRegistry"
1412
+ },
1413
+ {
1414
+ "kind" : " interface" ,
1415
+ "name" : " PromiseRejectionEvent" ,
1416
+ "extends" : " Event" ,
1417
+ "flavor" : " Web" ,
1418
+ "properties" : [{
1419
+ "name" : " promise" ,
1420
+ "type" : " PromiseLike<any>" ,
1421
+ "readonly" : true
1422
+ }, {
1423
+ "name" : " reason" ,
1424
+ "type" : " any" ,
1425
+ "readonly" : true
1426
+ }]
1427
+ },
1428
+ {
1429
+ "kind" : " interface" ,
1430
+ "name" : " PromiseRejectionEventInit" ,
1431
+ "extends" : " EventInit" ,
1432
+ "flavor" : " Web" ,
1433
+ "properties" : [{
1434
+ "name" : " promise" ,
1435
+ "type" : " PromiseLike<any>"
1436
+ }, {
1437
+ "name" : " reason?" ,
1438
+ "type" : " any"
1439
+ }]
1412
1440
}
1413
1441
]
You can’t perform that action at this time.
0 commit comments