Y
Hacker News
new
|
ask
|
show
|
jobs
by
ng12
3356 days ago
AFAIK there's no good solution. That's why it works best when your back end is using Typescript as well -- your route returns the same interface the client is expecting.
1 comments
jononor
3354 days ago
This goes out the window when you have multiple deployed/running versions of your client or server.
link
mercer
3353 days ago
Would one solve this by versioning the types somehow? Honest question; I'm pretty new to TS.
link