method Process.getBuiltinModule
Jump to headingProcess.getBuiltinModule<ID extends keyof BuiltInModule>(id: ID): BuiltInModule[ID]
Provides a way to load built-in modules in a globally available function.
Type Parameters Jump to heading
Jump to headingID extends keyof BuiltInModule
Parameters Jump to heading
ID of the built-in module being requested.
Return Type Jump to heading
BuiltInModule[ID]
Jump to headingProcess.getBuiltinModule(id: string): object | undefined
Parameters Jump to heading
Jump to headingid: string
Return Type Jump to heading
object | undefined