I've a model that looks like this
export interface LoremIpsum {
propertyA: string;
propertyB: number;
}
From the server I have the data returned in this format
{
"Fields": {
"propertyA": {
"value": "something"
},
"propertyB": {
"value": 123
}
}
}
Is this a way to make the generic type for this? SO I could use it in a way like DynamicResponse<LoremIpsum>?