Skip to content

Commit a135f65

Browse files
authored
doc: fix typo in esm.md
_subpath_ is not defined in this context. This is pretty clearly meant to be _packageSubpath_, which is the second argument to `PACKAGE_SELF_RESOLVE`
1 parent 1e89238 commit a135f65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/esm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,7 @@ The resolver can throw the following errors:
11451145
> 1. Return **undefined**.
11461146
> 1. If _pjson.name_ is equal to _packageName_, then
11471147
> 1. Return the result of **PACKAGE_EXPORTS_RESOLVE**(_packageURL_,
1148-
> _subpath_, _pjson.exports_, _defaultConditions_).
1148+
> _packageSubpath_, _pjson.exports_, _defaultConditions_).
11491149
> 1. Otherwise, return **undefined**.
11501150

11511151
**PACKAGE_EXPORTS_RESOLVE**(_packageURL_, _subpath_, _exports_, _conditions_)

0 commit comments

Comments
 (0)