Skip to content

Commit 6875e86

Browse files
davidcalhoundanez
authored andcommitted
typo: Propery -> Property (#257)
# Conflicts: # src/utils/getPropertyName.js
1 parent 37eaacf commit 6875e86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/getPropertyName.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default function getPropertyName(propertyPath: NodePath): string {
2424
if (types.ObjectTypeSpreadProperty.check(propertyPath.node)) {
2525
return getNameOrValue(propertyPath.get('argument').get('id'), false);
2626
} else if (propertyPath.node.computed) {
27-
throw new TypeError('Propery name must be an Identifier or a Literal');
27+
throw new TypeError('Property name must be an Identifier or a Literal');
2828
}
2929

3030
return getNameOrValue(propertyPath.get('key'), false);

0 commit comments

Comments
 (0)