Merge pull request #3203 from samwgoldman/flow-mixins-6.x
Add support for mixins to Babel 6.x
This commit is contained in:
@@ -104,6 +104,10 @@ export function _interfaceish(node: Object) {
|
||||
this.push(" extends ");
|
||||
this.printJoin(node.extends, node, { separator: ", " });
|
||||
}
|
||||
if (node.mixins && node.mixins.length) {
|
||||
this.push(" mixins ");
|
||||
this.printJoin(node.mixins, node, { separator: ", " });
|
||||
}
|
||||
this.space();
|
||||
this.print(node.body, node);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user