Dictionary<your Type of Key> typescript code example Example: typescript dictionary typing const dict: { [key: keyType]: valueType};