-
Notifications
You must be signed in to change notification settings - Fork 728
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
Property 'now' does not exist on type 'typeof DateTime'. #1598
Comments
@siberry I saw this as well, do you happen to be using ES6 modules?
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I am using Luxon
DateTime
with Typescript and am having no other type errors except for when usingDateTime.now()
I am getting the type errorProperty 'now' does not exist on type 'typeof DateTime'.
To Reproduce
When using Typescript:
Actual vs Expected behavior
DateTime.now
would not throw a type errorDesktop (please complete the following information):
The text was updated successfully, but these errors were encountered: