Skip to content

Commit 70bf492

Browse files
fix grammar in verbatimModuleSyntax: "an ES modules" (#3382)
1 parent 98ce242 commit 70bf492

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/tsconfig-reference/copy/en/options/verbatimModuleSyntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ module.exports = {
140140

141141
While this is a limitation, it does help make some issues more obvious.
142142
For example, it's very common to forget to set the [`type` field in `package.json`](https://nodejs.org/api/packages.html#type) under `--module node16`.
143-
As a result, developers would start writing CommonJS modules instead of an ES modules without realizing it, giving surprising lookup rules and JavaScript output.
143+
As a result, developers would start writing CommonJS modules instead of ES modules without realizing it, giving surprising lookup rules and JavaScript output.
144144
This new flag ensures that you're intentional about the file type you're using because the syntax is intentionally different.
145145

146146
Because `--verbatimModuleSyntax` provides a more consistent story than `--importsNotUsedAsValues` and `--preserveValueImports`, those two existing flags are being deprecated in its favor.

0 commit comments

Comments
 (0)