how to create a pair array typescript code example Example: key value pairs typescript var item: {[key: string]: number}