Skip to content

Commit 80b393b

Browse files
committed
Fix JSDoc type of isModule
1 parent 4157d52 commit 80b393b

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)