Skip to content

Commit

Permalink
node 12+, parseing error
Browse files Browse the repository at this point in the history
- see: jsdoc#1643
  • Loading branch information
nonoll committed Jun 30, 2020
1 parent 74abe59 commit 8932a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jsdoc/tag/type.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ function getTypeStrings(parsedType, isOutermostType) {
applications = parsedType.applications.map(function(application) {
return catharsis.stringify(application);
}).join(', ');
typeString = util.format( '%s.<%s>', getTypeStrings(parsedType.expression),
typeString = util.format( '%s.<%s>', getTypeStrings(parsedType.expression)[0],
applications );

types.push(typeString);
Expand Down

0 comments on commit 8932a1b

Please sign in to comment.