Skip to content

fromJSON duration uses Number rather than Long when using useDuration=string option #1176

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

Open
mbgp-harry opened this issue Apr 23, 2025 · 0 comments

Comments

@mbgp-harry
Copy link

Hello,

I'm using the new duration which is working very well, but its upsetting typescript as the actual seconds assigned to the Duration is not a long, but a number.

Would it be possible to cast this value to a long?

Thanks

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

No branches or pull requests

1 participant