create dictionary in angular 9 code example Example: TS define dictionary const dict: { [key: keyType]: valueType};