pull/4444/head
tanhauhau 5 years ago
parent bb6fac8fbc
commit d28f226688

@ -374,7 +374,7 @@ export default class ElementWrapper extends Wrapper {
get_claim_statement(nodes: Identifier) { get_claim_statement(nodes: Identifier) {
const attributes = this.attributes const attributes = this.attributes
.filter((attr) => !(attr instanceof SpreadAttributeWrapper) && !attr.property_name) .filter((attr) => !(attr instanceof SpreadAttributeWrapper) && !attr.property_name)
.map((attr) => p`${attr.name}: true`); .map((attr) => p`${(attr as StyleAttributeWrapper | AttributeWrapper).name}: true`);
const name = this.node.namespace const name = this.node.namespace
? this.node.name ? this.node.name

Loading…
Cancel
Save