Skip to content

Commit 82dc48d

Browse files
privatenumbertargos
authored andcommitted
doc: fix specifier example in esm.md
PR-URL: #43351 Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent d766cfa commit 82dc48d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/api/esm.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,9 @@ This section was moved to [Modules: Packages](packages.md).
112112
### Terminology
113113

114114
The _specifier_ of an `import` statement is the string after the `from` keyword,
115-
e.g. `'path'` in `import { sep } from 'node:path'`. Specifiers are also used in
116-
`export from` statements, and as the argument to an `import()` expression.
115+
e.g. `'node:path'` in `import { sep } from 'node:path'`. Specifiers are also
116+
used in `export from` statements, and as the argument to an `import()`
117+
expression.
117118

118119
There are three types of specifiers:
119120

0 commit comments

Comments
 (0)