Skip to content

Commit b824a0b

Browse files
privatenumberdanielleadams
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 9803b82 commit b824a0b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/api/esm.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,9 @@ This section was moved to [Modules: Packages](packages.md).
116116
### Terminology
117117

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

122123
There are three types of specifiers:
123124

0 commit comments

Comments
 (0)