Skip to content

Commit 2b57055

Browse files
committed
Fix return type documentation
1 parent 38d608d commit 2b57055

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function decorate(formatted, str, prefix) {
4545
* @param {Object} node type object in doctrine style
4646
* @param {function(text): text} getNamedLink a function that tries
4747
* to find a URL to point a named link to
48-
* @returns {string} string
48+
* @returns {Object[]} array of [mdast](https://www.npmjs.com/package/mdast) syntax trees
4949
* @example
5050
* var x = { type: 'NameExpression', name: 'String' };
5151
* // in template

0 commit comments

Comments
 (0)