Skip to content

Commit 4d1ed81

Browse files
authored
Fix JSDoc type of isModule
1 parent 08aad95 commit 4d1ed81

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/cli/utils.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,7 @@ export function readFile(path) {
123123
/**
124124
* Checks if current package.json uses type "module"
125125
*
126-
* @param {string} path
127-
* @return {string}
126+
* @return {boolean}
128127
*/
129128
export function isModule() {
130129
const pkgPath = path.resolve('./package.json')

0 commit comments

Comments
 (0)