dictionary in angular 8 code example
Example 1: TS define dictionary
const dict: { [key: keyType]: valueType};
Example 2: angular dictionary
map = new Map<string, string>();
//set item
map.set("PO1", "closed");
//get item
map.get('PO1');
//has item
map.has('PO1');
//delete item
map.delete('PO1');