Skip to content

Commit

Permalink
docs: typo fix (#41787)
Browse files Browse the repository at this point in the history
Typo fix
  • Loading branch information
kaitlinnewson committed Apr 10, 2024
1 parent 38ef9a7 commit 0a7df0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial/esm.md
Expand Up @@ -59,7 +59,7 @@ need to be called **before** the app's `ready` event is emitted.
With top-level `await` available in Node.js ESM, make sure to `await` every Promise that you need to
execute before the `ready` event. Otherwise, your app may be `ready` before your code executes.

This is particularly important to keep in mind for dynamic ESM import statmements (static imports are unaffected).
This is particularly important to keep in mind for dynamic ESM import statements (static imports are unaffected).
For example, if `index.mjs` calls `import('./set-up-paths.mjs')` at the top level, the app will
likely already be `ready` by the time that dynamic import resolves.

Expand Down

0 comments on commit 0a7df0e

Please sign in to comment.