After generating an interface from a JSON object, I have the following properties:
export interface ValidationMsg {
// List of validation messages
}
export interface MandatoryAddressFields {
// Different mandatory address fields for countries
}
I attempted using Rcord<string, string>
but encountered issues with MandatoryAddressFields
. Is there a simpler way to define this interface?