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 <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>
  • Loading branch information
privatenumber authored and danielleadams committed Jun 13, 2022
1 parent 9803b82 commit b824a0b
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 @@ -116,8 +116,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 b824a0b

Please sign in to comment.