File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -93,10 +93,13 @@ function convertKDLNodes(nodes: Node[]): DeepPartial<WebIdl> {
9393 enums [ name ] = handleEnum ( node ) ;
9494 break ;
9595 case "interface-mixin" :
96- mixin [ name ] = handleMixinandInterfaces ( node , "mixin" ) ;
96+ mixin [ name ] = merge (
97+ mixin [ name ] ,
98+ handleMixinAndInterfaces ( node , "mixin" ) ,
99+ ) ;
97100 break ;
98101 case "interface" :
99- interfaces [ name ] = handleMixinandInterfaces ( node , "interface" ) ;
102+ interfaces [ name ] = handleMixinAndInterfaces ( node , "interface" ) ;
100103 break ;
101104 case "dictionary" :
102105 dictionary [ name ] = handleDictionary ( node ) ;
@@ -146,7 +149,7 @@ function handleEnum(node: Node): Enum {
146149 * @param node The mixin node to handle.
147150 * @param mixins The record of mixins to update.
148151 */
149- function handleMixinandInterfaces (
152+ function handleMixinAndInterfaces (
150153 node : Node ,
151154 type : "mixin" | "interface" ,
152155) : DeepPartial < Interface > {
You can’t perform that action at this time.
0 commit comments