diff --git a/packages/documentation/copy/en/handbook-v2/Modules.md b/packages/documentation/copy/en/handbook-v2/Modules.md index d99fbca6c05b..0773a41c185b 100644 --- a/packages/documentation/copy/en/handbook-v2/Modules.md +++ b/packages/documentation/copy/en/handbook-v2/Modules.md @@ -25,7 +25,8 @@ Conversely, to consume a variable, function, class, interface, etc. exported fro ## Non-modules Before we start, it's important to understand what TypeScript considers a module. -The JavaScript specification declares that any JavaScript files without an `export` or top-level `await` should be considered a script and not a module. +The JavaScript specification declares that any JavaScript files without an `import` declaration, `export`, or top-level `await` should be considered a script and not a module. + Inside a script file variables and types are declared to be in the shared global scope, and it's assumed that you'll either use the [`outFile`](/tsconfig#outFile) compiler option to join multiple input files into one output file, or use multiple `