In my Java function, the argument type is List<Map<String, String>>. To perform a fetch call from a TypeScript file, I need to declare a variable whose type corresponds to List<Map<String, String>>.
As TypeScript does not have a built-in type for lists, how can we define List<Map<String, String>> in TypeScript ??
For reference, the Java function receives input as:
[
{
xyz: 'Test',
abc: 'Count',
},
{
xyz: 'Test',
abc: 'Latency',
},
]
How do I receive this List<Map<String, String>> in TypeScript ??