You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am using Luxon DateTime with Typescript and am having no other type errors except for when using DateTime.now() I am getting the type error Property 'now' does not exist on type 'typeof DateTime'.
To Reproduce
When using Typescript:
DateTime.now()
Actual vs Expected behavior DateTime.now would not throw a type error
Desktop (please complete the following information):
OS: macOS 14.3.1
Editor - VS Code
Luxon version 3.4.4
The text was updated successfully, but these errors were encountered:
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: