We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e7f34e commit dc661abCopy full SHA for dc661ab
docs/node/tsx-require.md
@@ -6,8 +6,9 @@ Use this function for importing TypeScript files in CommonJS mode without adding
6
7
Note, the current file path must be passed in as the second argument to resolve the import context.
8
9
-::: warning Caveat
10
-`import()` & asynchronous `require()` calls in the loaded files are not enhanced.
+::: warning Caveats
+- `import()` & asynchronous `require()` calls in the loaded files are not enhanced.
11
+- Because it compiles ESM syntax to run in CommonJS mode, top-level await is not supported
12
:::
13
14
## CommonJS usage
0 commit comments