I have an API response like this:
{
gender: 1,
gender@formattedValue: "Male",
category: 4,
category@formattedValue: "Employee"
}
So it has lots of properties that are appended a @formattedValue.
Is it possible to create a typescript interface that automatically adds to every property @formattedValue? Of course leaving the original in tact, so intellisense shows both versions?