by bestest · 3y ago · 0 comments
[0]: https://www.typescriptlang.org/docs/handbook/type-inference....
at least once you want to do anything meaningful with that x
You can also generate API types based on your backend.
Another point: You can create types for your API client programatically, meaning your front-end can be aware of exactly what types your backend is returning. This cannot be accomplished with intellisense.