diff --git a/doc/api/esm.md b/doc/api/esm.md index 3b256dfe8d07e8..56691d0622ed3a 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -1127,9 +1127,8 @@ The resolver can throw the following errors: > **undefined**, then > 1. Return **undefined**. > 1. If _pjson.name_ is equal to _packageName_, then -> 1. Return the _resolved_ destructured value of the result of -> **PACKAGE_EXPORTS_RESOLVE**(_packageURL_, _subpath_, _pjson.exports_, -> _defaultConditions_). +> 1. Return the result of **PACKAGE_EXPORTS_RESOLVE**(_packageURL_, +> _packageSubpath_, _pjson.exports_, _defaultConditions_). > 1. Otherwise, return **undefined**. **PACKAGE_EXPORTS_RESOLVE**(_packageURL_, _subpath_, _exports_, _conditions_)