Replies: 1 comment
-
I have created PR #1537. You can now try it out. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been using Inertia.js with Vue 3, and I've noticed that currently, there isn't support for TypeScript Generics when using the router.post() method. This would be very helpful for better type checking of the data parameter.
Currently, we use the method like this:
However, I would like to have the ability to add a type for data using TypeScript Generics. Here's an example of what I would like to achieve:
This would allow for better type checking and improved developer experience when working with Inertia.js and TypeScript.
Beta Was this translation helpful? Give feedback.
All reactions