I understand the normal Map<string, string>
format. But i have seen some people use { [k: string]: string }
for the same use case?
Are they same or different? i cannot find a proper documentation regarding it's use cases.
is it possible to convert one to another?
Does it have to do something with the object de-structuring ?