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
I'm currently using Elysia.js, and I’ve run into an issue with the t.Date() type. When I define a field with t.Date(), Eden interprets this type as Date & string, making it difficult to work with due to a type mismatch.
I need some guidance on how to handle this situation or if there’s a workaround to ensure compatibility between the types in Elysia.js and Eden. Any assistance on how to resolve this type discrepancy would be greatly appreciated.
Thank you!
What is the expected behavior?
date | string
What do you see instead?
Date & string
Additional information
No response
Have you try removing the node_modules and bun.lockb and try again yet?
No response
The text was updated successfully, but these errors were encountered:
What version of Elysia is running?
1.1.24
What platform is your computer?
ubuntu 22.04
What steps can reproduce the bug?
Hello,
I'm currently using Elysia.js, and I’ve run into an issue with the t.Date() type. When I define a field with t.Date(), Eden interprets this type as Date & string, making it difficult to work with due to a type mismatch.
I need some guidance on how to handle this situation or if there’s a workaround to ensure compatibility between the types in Elysia.js and Eden. Any assistance on how to resolve this type discrepancy would be greatly appreciated.
Thank you!
What is the expected behavior?
date | string
What do you see instead?
Date & string
Additional information
No response
Have you try removing the
node_modules
andbun.lockb
and try again yet?No response
The text was updated successfully, but these errors were encountered: