mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
Added doclet parsing for object literal getters and setters (#150)
This commit is contained in:
commit
cf1e65e162
@ -239,7 +239,7 @@ function aboutNode(node) {
|
||||
|
||||
// Getter and setter functions should be treated as properties
|
||||
if (node.type === Token.GET || node.type === Token.SET) {
|
||||
about.type = nodeToString(node);
|
||||
about.type = getTypeName(node);
|
||||
} else {
|
||||
about.type = getTypeName(node.right);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user