I have an set of data for which I need to specify type in typescript (type any is not recommended).
'xyzzy': (2) [Array(4), 1],
I get error when i specify its type as object. Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'. No index signature with a parameter of type 'string' was found on type '{}'.