Skip to content

Commit

Permalink
doc: order vm.Module linker arguments correctly
Browse files Browse the repository at this point in the history
PR-URL: nodejs#42797
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
  • Loading branch information
SimenB authored Apr 22, 2022
1 parent e64613d commit eeb27c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,8 @@ The identifier of the current module, as set in the constructor.
// ^^^^^ the module specifier
```

* `referencingModule` {vm.Module} The `Module` object `link()` is called on.

* `extra` {Object}
* `assert` {Object} The data from the assertion:
<!-- eslint-skip -->
Expand All @@ -571,8 +573,6 @@ The identifier of the current module, as set in the constructor.
support, as opposed to, for example, triggering an error if an
unsupported assertion is present.

* `referencingModule` {vm.Module} The `Module` object `link()` is called on.

* Returns: {vm.Module|Promise}
* Returns: {Promise}

Expand Down

0 comments on commit eeb27c2

Please sign in to comment.