Skip to content

Commit

Permalink
Update isolatedModules.md
Browse files Browse the repository at this point in the history
  • Loading branch information
iisaduan authored Oct 2, 2023
1 parent 874b1db commit d7323ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Single-file transpilers don't know whether `someType` produces a value or not, s

#### Non-Module Files

If `isolatedModules` is set, namespaces are only allowed in _modules_ (which means it has some form of `import`/`export`). An error occurs if a namespace is found in a module:
If `isolatedModules` is set, namespaces are only allowed in _modules_ (which means it has some form of `import`/`export`). An error occurs if a namespace is found in a non-module file:

```ts twoslash
// @errors: 1277
Expand Down

0 comments on commit d7323ef

Please sign in to comment.