diff --git a/lib/jsdoc/tag/inline.js b/lib/jsdoc/tag/inline.js index 7af5f394..4b6a36fc 100644 --- a/lib/jsdoc/tag/inline.js +++ b/lib/jsdoc/tag/inline.js @@ -39,9 +39,9 @@ function unescapeBraces(text) { * To replace untagged text that is enclosed in braces, set the `tag` parameter to `null`. * * @param {string} string - The string in which to replace the inline tag. - * @param {string?} tag - The inline tag that must follow the opening brace (for example, `@link`). - * @param {module:jsdoc/tag/inline.InlineTagReplacer} The function that is used to replace text in - * the string. + * @param {?string} tag - The inline tag that must follow the opening brace (for example, `@link`). + * @param {module:jsdoc/tag/inline.InlineTagReplacer} replacer - The function that is used to + * replace text in the string. * @return {module:jsdoc/tag/inline.InlineTagInfo} The updated string, as well as information about * the inline tag. */ @@ -104,7 +104,7 @@ exports.replaceInlineTag = function(string, tag, replacer) { * To extract untagged text that is enclosed in braces, omit the `tag` parameter. * * @param {string} string - The string from which to extract text. - * @param {string?} tag - The inline tag that must follow the opening brace (for example, `@link`). + * @param {?string} tag - The inline tag that must follow the opening brace (for example, `@link`). * @return {module:jsdoc/tag/inline.InlineTagInfo} Information about the string and inline tag. */ exports.extractInlineTag = function(string, tag) {