typescript how to add types to dictionairy code example Example: typescript dictionary typing const dict: { [key: keyType]: valueType};