diff --git a/index.js b/index.js index 164055b..90a2032 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,5 @@ /** * Render Govspeak markup. - * * @param {object} [options] Options for the extension * @returns {object} A MarkedExtension to be passed to `marked.use()` */ diff --git a/lib/block-tokenizer.js b/lib/block-tokenizer.js index dd34780..1698913 100644 --- a/lib/block-tokenizer.js +++ b/lib/block-tokenizer.js @@ -5,7 +5,7 @@ * @param {string} name Extension name, i.e. `govspeak-example` * @param {string} open Opening tag, i.e. $E * @param {string} [close] Closing tag, i.e. $E - * @returns {object} Tokens + * @returns {object|undefined} Tokens */ module.exports = function (lexer, src, name, open, close) { if (!src.startsWith(`${open}\n`)) {