@@ -42,7 +42,7 @@ export default function ({ types: t }) {
|
||||
}
|
||||
|
||||
// props
|
||||
for (let attr of open.attributes) {
|
||||
for (let attr of (open.attributes: Array<Object>)) {
|
||||
if (isJSXAttributeOfName(attr, "key")) {
|
||||
key = getAttributeValue(attr);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user