From 923f355855ac13545c5c61526c751eaae2975c1b Mon Sep 17 00:00:00 2001 From: hiroki osame Date: Thu, 9 Jun 2022 05:52:50 -0400 Subject: [PATCH] doc: fix specifier example in `esm.md` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/43351 Reviewed-By: Jacob Smith Reviewed-By: Geoffrey Booth Reviewed-By: Tobias Nießen Reviewed-By: Mohammed Keyvanzadeh Reviewed-By: Darshan Sen Reviewed-By: Antoine du Hamel --- doc/api/esm.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/api/esm.md b/doc/api/esm.md index 1207a00bc6a9e4..9f80dcb094e607 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -120,8 +120,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: