import * as util from "util"; const map: Map<string, string> = new Map(); map.set("test", "test"); const inspected: string = util.inspect(map); console.log(inspected);