mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-09-16 22:20:30 +00:00
Merge pull request #15661 from WindzCUHK/patch-1
[later] add missing parameter `hasSeconds` to `later.parse.cron()`
This commit is contained in:
Vendored
+2
-1
@@ -152,8 +152,9 @@ declare namespace later {
|
||||
* Create schedule data by parsing a cron string
|
||||
*
|
||||
* @param {string} [input] - A string value to parse.
|
||||
* @param {boolean} [hasSeconds] - Whether the cron expression has second part.
|
||||
*/
|
||||
cron(input?: string): ScheduleData;
|
||||
cron(input?: string, hasSeconds?: boolean): ScheduleData;
|
||||
|
||||
/**
|
||||
* Create schedule data by paring a human readable string.
|
||||
|
||||
Reference in New Issue
Block a user