typescript get key from key value pair code example Example: key value pairs typescript var item: {[key: string]: number}