From 5ebf4400f19c02ba6c8b686cf473bf7188c609ab Mon Sep 17 00:00:00 2001 From: hiroki osame Date: Wed, 8 Jun 2022 14:46:44 -0400 Subject: [PATCH 1/2] doc: fix specifier example --- doc/api/esm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/esm.md b/doc/api/esm.md index 1207a00bc6a9e4..a1d0343b189c55 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -120,7 +120,7 @@ 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 +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: From 8ecbcfc7dc2069c1318c443b56ee4c4ab4cf8c10 Mon Sep 17 00:00:00 2001 From: hiroki osame Date: Wed, 8 Jun 2022 15:26:38 -0400 Subject: [PATCH 2/2] Update doc/api/esm.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tobias Nießen --- 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 a1d0343b189c55..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. `'node: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: