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

datetime and dateOnly types should be mapped to TypeScript Date #71

Open
katmatt opened this issue Jun 14, 2019 · 0 comments
Open

datetime and dateOnly types should be mapped to TypeScript Date #71

katmatt opened this issue Jun 14, 2019 · 0 comments

Comments

@katmatt
Copy link
Contributor

katmatt commented Jun 14, 2019

Our current TypeScript model generator maps the RAML types datetime and dateonlyto string. Since the TypeScript Date type maps to the JavaScript Date and can be correctly parsed/stringified as JSON, we should use it in our TypeScript model generator.

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

Successfully merging a pull request may close this issue.

1 participant