foreach async typescript

JavaScript
  for (const file of files) {
    const contents = await fs.readFile(file, 'utf8');
    console.log(contents);
  }
 
Source

Also in JavaScript: