Skip to content

Commit bf553a0

Browse files
authored
Update index.d.ts
1 parent 92bb91f commit bf553a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ declare namespace parse {
3030
*
3131
* @param {string} str - The string to parse.
3232
* @param {string} format - The format to use for conversion (default is 'ms').
33-
* @returns {number} - The parsed duration in milliseconds.
33+
* @returns {number|null} - The parsed duration in milliseconds.
3434
*/
3535
declare function parse(str?: string, format?: string): number | null;
3636

0 commit comments

Comments
 (0)