Pass nativeRequire, as well

This commit is contained in:
Jonathan Clem
2021-04-21 16:40:48 -04:00
parent 75e3a5b35d
commit c416f56b51
5 changed files with 4 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ type AsyncFunctionArguments = {
glob: typeof glob
io: typeof io
require: NodeRequire
nativeRequire: NodeRequire
}
export function callAsyncFunction<T>(