-
Notifications
You must be signed in to change notification settings - Fork 202
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
Can't create open-ended ranges in TypeScript #264
Comments
Hi @sarbogast, thanks for raising this issue! It does appear to be a bug. I'll get on this shortly 😀 |
I still experience the same problem, but I managed to solve it. In my case logically it had the same effect. |
When creating open-ended ranges, the problem still persists, it appears that pull-request #273 was intended to solve it, but it was eventually reverted. |
I'm trying to create open-ended ranges in a TypeScript class, but
moment.range()
seems to only accept Dates or Moments as inputs, not null or undefined.Those 2 lines fail:
The text was updated successfully, but these errors were encountered: