Skip to content

Commit e0cca6b

Browse files
committed
ts: lib/config/utils.js
1 parent 73b2ccb commit e0cca6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/config/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export function toBooleanConfig(configValue) {
88
return configValue
99
}
1010

11-
export function toArrayConfig(configValue, separator = ',', fallback) {
11+
export function toArrayConfig(configValue, separator: string = ',', fallback ?: any) {
1212
if (configValue && typeof configValue === 'string') {
1313
return (configValue.split(separator).map(arrayItem => arrayItem.trim()))
1414
}

0 commit comments

Comments
 (0)