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