Skip to content

Commit 13eff80

Browse files
committed
refactor: improve JSDoc
1 parent c614b6d commit 13eff80

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ const getPrototypeType = (obj) =>
5555

5656
/**
5757
* Get return type of property.
58-
* @param {{ property: ComponentPropertyData, propertyMap: ProprtyMap }} args
58+
* @param {{ property: ComponentPropertyData, propertyMap?: ProprtyMap }} args
59+
* @returns {{type: string | null}}
5960
*/
6061
const getValueType = ({ property, propertyMap }) => {
6162
if (property.type === 'array') {
@@ -144,10 +145,9 @@ const getValueType = ({ property, propertyMap }) => {
144145
type: getPrototypeType(evaluated.value)
145146
}
146147
}
147-
148-
return {
149-
type: null
150-
}
148+
}
149+
return {
150+
type: null
151151
}
152152
}
153153

0 commit comments

Comments
 (0)