typescript get data info of dictionary code example Example: TS define dictionary const dict: { [key: keyType]: valueType};