key value pair in typescript best practices code example Example: key value pairs typescript var item: {[key: string]: number}