Skip to content

Commit 7fc1f68

Browse files
davidcalhoundanez
authored andcommitted
typo: Propery -> Property (#257)
1 parent 8c6d7a7 commit 7fc1f68

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
@@ -19,7 +19,7 @@ import getNameOrValue from './getNameOrValue';
1919
*/
2020
export default function getPropertyName(propertyPath: NodePath): string {
2121
if (propertyPath.node.computed) {
22-
throw new TypeError('Propery name must be an Identifier or a Literal');
22+
throw new TypeError('Property name must be an Identifier or a Literal');
2323
}
2424

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

0 commit comments

Comments
 (0)