doc: order vm.Module linker arguments correctly

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Simen Bekkhus authored and Michaël Zasso committed 2022-07-31 09:43:54 +02:00
1 parent 2974f4042e
commit 2c447b4f30
1 file changed
+2 -2
+2 -2
View File
@@ -558,6 +558,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 -->
@@ -569,8 +571,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}