File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 33153315 }
33163316 }
33173317 },
3318- "ContactAddress" : {
3319- "name" : " PaymentAddress"
3320- },
33213318 "HTMLMediaElement" : {
33223319 "properties" : {
33233320 "property" : {
Original file line number Diff line number Diff line change 11// Payment Request added shippingAddress with a different type
22// https://github.com/w3c/payment-request/pull/996
33
4+ interface ContactAddress name= PaymentAddress
5+
46interface PaymentRequest {
57 property shippingAddress type= PaymentAddress
68}
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ function handleMixinandInterfaces(
143143 node : Node ,
144144 type : "mixin" | "interface" ,
145145) : DeepPartial < Interface > {
146- const name = node . values [ 0 ] ;
146+ const name = string ( node . properties ?. name || node . values [ 0 ] ) ;
147147
148148 const event : Event [ ] = [ ] ;
149149 const property : Record < string , Partial < Property > > = { } ;
You can’t perform that action at this time.
0 commit comments