mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
Merge pull request #12488 from Flarna/node_add_process_mainmodule
Add process.mainModule, improve NodeModule
This commit is contained in:
@@ -1611,7 +1611,7 @@ namespace process_tests {
|
||||
assert(process.argv[0] === process.argv0);
|
||||
}
|
||||
{
|
||||
var module: NodeModule;
|
||||
var module: NodeModule | undefined;
|
||||
module = process.mainModule;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user