pull/4444/head
tanhauhau 5 years ago
parent 57b5552b01
commit 3707b9abf9

@ -373,7 +373,7 @@ export default class ElementWrapper extends Wrapper {
get_claim_statement(nodes: Identifier) {
const attributes = this.attributes
.filter((attr) => attr.node.type === 'Attribute' && !attr.get_property_name())
.filter((attr) => !(attr instanceof SpreadAttributeWrapper) && !attr.property_name)
.map((attr) => p`${fix_attribute_casing(attr.node.name)}: true`);
const name = this.node.namespace

Loading…
Cancel
Save