Skip to content

Commit a839179

Browse files
authored
Update index.js
1 parent bf553a0 commit a839179

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ parse.unit = en
99
*
1010
* @param {string} str
1111
* @param {string} format
12-
* @return {number}
12+
* @return {number|null}
1313
*/
1414
export default function parse(str = '', format = 'ms') {
1515
let result = null, prevUnits

0 commit comments

Comments
 (0)