---
title: "Discussion on \"TS1431: 'for await' loops are only allowed at the top level of\" | Hashnode"
description: "Discussion on \"TS1431: 'for await' loops are only allowed at the top level of\". TS1431: 'for await' loops are only allowed at the top level of"
url: "https://hashnode.com/posts/ts1431-for-await-loops-are-only-allowed-at-the-top-level-of/6818ec68738be69109806274"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [TS1431: 'for await' loops are only allowed at the top level of](https://isms.hashnode.dev/ts1431-for-await-loops-are-only-allowed-at-the-top-level-of?utm_source=hashnode&utm_medium=feed)

TS1431: 'for await' loops are only allowed at the top level of

May 5, 2025 · 6 min read · isms.hashnode.dev  
Read the article

-   [#software-engineering](https://hashnode.com/tag/software-engineering)

## Written by

[Turing Vang](https://hashnode.com/@turingvang)

@turingvang

  
[View profile](https://hashnode.com/@turingvang)

security information

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
