fix(types): added missing typings

This commit is contained in:
Corentin Thomasset 2021-05-17 23:11:20 +02:00
parent a8f9d7e555
commit 27f3826d5f
No known key found for this signature in database
GPG key ID: DBD997E935996158
3 changed files with 5 additions and 5 deletions

View file

@ -191,7 +191,7 @@ export default class CrontabGenerator extends Tool {
throwExceptionOnParseError: true
}
isCronValid(v) {
isCronValid(v: string) {
return isValidCron(v, {allowBlankDay: true, alias: true, seconds: true})
}