To initialize a TypeScript map from raw data, you can use the Map constructor and pass in an array of key-value pairs as an argument. Here's an example: const rawData = [ ["key1", "value1"], ["key2", "value2"], ["key3", "value3"] ]; const map = new Map<string, string>(rawData); console.log(map.get("key1")); // Output: "value1" console.log(map.get("key2")); // Output: "value2" console.log(map.get("key3")); // Output