Skip to content

Commit 923f355

Browse files
doc: fix specifier example in esm.md
PR-URL: #43351 Reviewed-By: Jacob Smith <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
1 parent 85f8821 commit 923f355

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
@@ -120,8 +120,9 @@ This section was moved to [Modules: Packages](packages.md).
120120
### Terminology
121121

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

126127
There are three types of specifiers:
127128

0 commit comments

Comments
 (0)