index signature
Also written: lookup table
A type like `{ [sku: string]: Product }` that says any string key maps to a value of that type. It types lookup tables such as the product catalog, whose keys aren't known in advance.
Also written: lookup table
A type like `{ [sku: string]: Product }` that says any string key maps to a value of that type. It types lookup tables such as the product catalog, whose keys aren't known in advance.