We are currently doing a mass upgrade from AngularJS to Angular. We've encountered a problem that i cannot find what is the best solution in order to solve it .
According to Angular/Typescript code standards, we should define all our variables, property names, and interfaces using camelCase.
The problem is that all the data that comes from the backend is used with snake_case.
So after each request, in order to create the according interface, we need to transform the keys to camelCase and then when we pass the data we need to snake_case it back.
we are using lodash to do so, but is there a better way doing so? Is there a way to convert those things using Typescript native implementation?