mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
correct docs
This commit is contained in:
parent
05656a01df
commit
a0abba623b
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user