diff --git a/src/compiler/compile/nodes/Element.ts b/src/compiler/compile/nodes/Element.ts index 99b132e5a8..b9d2672168 100644 --- a/src/compiler/compile/nodes/Element.ts +++ b/src/compiler/compile/nodes/Element.ts @@ -425,7 +425,7 @@ export default class Element extends Node { validate_special_cases() { const { component,attributes } = this; - let attribute_map = new Map(); + const attribute_map = new Map(); attributes.forEach(attribute => ( attribute_map.set(attribute.name, attribute)