We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92bb91f commit bf553a0Copy full SHA for bf553a0
index.d.ts
@@ -30,7 +30,7 @@ declare namespace parse {
30
*
31
* @param {string} str - The string to parse.
32
* @param {string} format - The format to use for conversion (default is 'ms').
33
- * @returns {number} - The parsed duration in milliseconds.
+ * @returns {number|null} - The parsed duration in milliseconds.
34
*/
35
declare function parse(str?: string, format?: string): number | null;
36
0 commit comments