Skip to content

Commit a3bd227

Browse files
committed
Fix a few JSDoc annotations
1 parent 96a0f9b commit a3bd227

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/options_resolvers/mode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { isString } from '../utils';
44
* Resolves mode option for css-modules-require-hook
55
*
66
* @param {*} value
7-
* @returns {boolean}
7+
* @returns {String}
88
*/
99
export default function mode(value/* , currentConfig */) {
1010
if (!isString(value)) {

src/options_resolvers/rootDir.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import { statSync } from 'fs';
33
import { isString } from '../utils';
44

55
/**
6-
* Resolves mode option for css-modules-require-hook
6+
* Resolves rootDir option for css-modules-require-hook
77
*
88
* @param {*} value
9-
* @returns {boolean}
9+
* @returns {String}
1010
*/
1111
export default function rootDir(value/* , currentConfig */) {
1212
if (!isString(value)) {

0 commit comments

Comments
 (0)