Skip to content

Commit

Permalink
doc: fix specifier example in esm.md
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
privatenumber authored and targos committed Jul 31, 2022
1 parent d766cfa commit 82dc48d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@ This section was moved to [Modules: Packages](packages.md).
### Terminology

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

There are three types of specifiers:

Expand Down

0 comments on commit 82dc48d

Please sign in to comment.