Skip to content
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

Dates are strings and are not matching the types #95

Open
ZimGil opened this issue Aug 26, 2024 · 1 comment
Open

Dates are strings and are not matching the types #95

ZimGil opened this issue Aug 26, 2024 · 1 comment

Comments

@ZimGil
Copy link
Contributor

ZimGil commented Aug 26, 2024

dateTime: "Date",
date: "Date",

This is correctly typing the interfaces with Date but the actual values are passed as string,
We need to wrap the values with new Date(wsdl-value)

@ZimGil
Copy link
Contributor Author

ZimGil commented Aug 26, 2024

This actually seems to be the case with numeric values as well, the interface shows 'number` but the values are strings

Talking about the returning values of course

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