diff --git a/packages/@vuepress/core/lib/node/theme-api/index.js b/packages/@vuepress/core/lib/node/theme-api/index.js index 1776484416..f3fa586650 100644 --- a/packages/@vuepress/core/lib/node/theme-api/index.js +++ b/packages/@vuepress/core/lib/node/theme-api/index.js @@ -131,7 +131,7 @@ function resolveSFCs (dirs) { /** * normalize component name * - * @param {strin} filename + * @param {string} filename * @returns {string} */ diff --git a/packages/@vuepress/test-utils/lib/createJestRunner.js b/packages/@vuepress/test-utils/lib/createJestRunner.js index 56f57e8e8e..cc0f88d64f 100644 --- a/packages/@vuepress/test-utils/lib/createJestRunner.js +++ b/packages/@vuepress/test-utils/lib/createJestRunner.js @@ -6,7 +6,7 @@ const usedPorts = [] * Run jest * * @param {array} jestArgs an array of Jest CLI options - * @param {array} debug whether start with '--inspect-brk' or not + * @param {boolean} debug whether start with '--inspect-brk' or not */ module.exports = function createJestRunner (jestArgs, debug) { diff --git a/packages/vuepress/lib/util.js b/packages/vuepress/lib/util.js index f35bb3694e..dd9432f8ff 100644 --- a/packages/vuepress/lib/util.js +++ b/packages/vuepress/lib/util.js @@ -10,7 +10,7 @@ const CAC = require('cac') /** * Bootstrap a CAC cli * @param {function} beforeParse - * @param {function} adterParse + * @param {function} afterParse * @returns {Promise} */