I have an object that is created using the _.groupBy() underscore method.
myObject = { "key" : [{Object},{Object2},{Object3}], "key2" : [{Object4},{Object5},{Object6}], ... }
How can I define this as an interface with TypeScript? I donβt want to just define it as myObject:Object = { ... , but rather have my own type for it.
source share