Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript CronExpression.next wrong declaration for iterator #168

Closed
Zaitsev opened this issue Sep 11, 2019 · 1 comment
Closed

Typescript CronExpression.next wrong declaration for iterator #168

Zaitsev opened this issue Sep 11, 2019 · 1 comment
Labels

Comments

@Zaitsev
Copy link

Zaitsev commented Sep 11, 2019

when using parseExpression(cronString, {iterator: true, utc: true,}); next() returns {done:bool,value:CronDate} but TS declaration is for no-iterator mode only

@harrisiirak harrisiirak added the bug label Oct 2, 2019
@harrisiirak
Copy link
Owner

See comment here: #175 (comment) and #82
We need better ES6 support here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants