I have the same interface in two different formats, a JSON format where the keys are separated by low dash and a javascript camelCase format:
JSON format:
interface MyJsonInterface {
key_one: string;
key_two: number;
}
interface MyInterface {
keyOne: string;
keyTwo: number;
}
I would like to prevent duplications and don't know the right way to do it. I checked out this question but the answer was not satisfactory, because I don't want the same keys to be available for both interfaces.
is there a different way?

