File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11/test.js
22/node- *
3- /lib /events.js
3+ /lib /events.js
4+ /test /additional-modules /my-es-module /index.js
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ export interface VMRequire {
8282 /** Collection of mock modules (both external or built-in). */
8383 mock ?: any ;
8484 /* An additional lookup function in case a module wasn't found in one of the traditional node lookup paths. */
85- resolve ?: ( moduleName : string , parentDirname : string ) => string | { path : string } | undefined ;
85+ resolve ?: ( moduleName : string , parentDirname : string ) => string | { path : string , module ?: string } | undefined ;
8686 /** Custom require to require host and built-in modules. */
8787 customRequire ?: ( id : string ) => any ;
8888 /** Load modules in strict mode. (default: true) */
You can’t perform that action at this time.
0 commit comments