From 4d1ed810cdd8133f027e3e59c919af261e7c0eef Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Wed, 23 Dec 2020 21:10:01 -0600 Subject: [PATCH] Fix JSDoc type of isModule --- src/cli/utils.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cli/utils.js b/src/cli/utils.js index 219a8d5977ed..cc80768aac9b 100644 --- a/src/cli/utils.js +++ b/src/cli/utils.js @@ -123,8 +123,7 @@ export function readFile(path) { /** * Checks if current package.json uses type "module" * - * @param {string} path - * @return {string} + * @return {boolean} */ export function isModule() { const pkgPath = path.resolve('./package.json')