diff --git a/doc/api/esm.md b/doc/api/esm.md index 4787dfc74da92d..84fded5ee8cfa9 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -287,7 +287,7 @@ This feature is only available with the `--experimental-import-meta-resolve` command flag enabled. * `specifier` {string} The module specifier to resolve relative to `parent`. -* `parent` {string|URL} The absolute parent module URL to resolve from. If none +* `parent` {string} The absolute parent module URL to resolve from. If none is specified, the value of `import.meta.url` is used as the default. * Returns: {Promise}