Skip to content

Commit 96fecb1

Browse files
committed
feat: rename getComponentPropsType
1 parent 78c203d commit 96fecb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rules/no-use-computed-property-like-method.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const utils = require('../utils')
2525
* @param {ComponentObjectPropertyData} property
2626
* @return {string | null}
2727
*/
28-
const getComponetPropsType = (property) => {
28+
const getComponentPropsType = (property) => {
2929
if (property.property.value.type === 'ObjectExpression') {
3030
const propsTypeProperty = property.property.value.properties.find(
3131
(property) =>
@@ -68,7 +68,7 @@ const getValueType = ({ property, propertyMap }) => {
6868
if (property.type === 'object') {
6969
if (property.groupName === 'props') {
7070
return {
71-
type: getComponetPropsType(property)
71+
type: getComponentPropsType(property)
7272
}
7373
}
7474

0 commit comments

Comments
 (0)