-
-
Notifications
You must be signed in to change notification settings - Fork 534
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
C# TimeSpan not resolved and generated as a DayJs duration #1709
Comments
I created an issue in NSwag to, since if you decide this is an issue it might be nice to add the proper import too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Im moving from MomentJS to DayJs in my code, i noticed that a C# TimeSpan was resolved as a moment,Duration. However now using DayJs it is resolving to a dayjs.Dayjs.
I think this is the line we are talking about:
NJsonSchema/src/NJsonSchema.CodeGeneration.TypeScript/TypeScriptTypeResolver.cs
Line 290 in 1569e52
My question is, is this a bug and should this line be dayjs.Duration or... is this done on purpose?
The text was updated successfully, but these errors were encountered: