Merge pull request #12488 from Flarna/node_add_process_mainmodule

Add process.mainModule, improve NodeModule
This commit is contained in:
Paul van Brenk
2016-11-29 13:50:26 -08:00
committed by GitHub
4 changed files with 8 additions and 8 deletions

View File

@@ -1611,7 +1611,7 @@ namespace process_tests {
assert(process.argv[0] === process.argv0);
}
{
var module: NodeModule;
var module: NodeModule | undefined;
module = process.mainModule;
}
}