Properties

P ___dirname: string

Type:
  • string

P ___filename: string

Type:
  • string

P Buffer: BufferType

Type:

P exports: any

Type:
  • any

P global: NodeJS.Global

P module: ModuleType

Type:

P process: NodeJS.Process

P require: RequireType

Type:

P SlowBuffer: SlowBufferType

Methods

M clearImmediate(immediateId: any) void

Parameters:
Name Type
immediateId any
Returns: { void }

M clearInterval(intervalId: NodeJS.Timer) void

Parameters:
Name Type
intervalId NodeJS.Timer
Returns: { void }

M clearTimeout(timeoutId: NodeJS.Timer) void

Parameters:
Name Type
timeoutId NodeJS.Timer
Returns: { void }

M setImmediate(callback: SetImmediateCallbackCallback, ...args: any) any

Parameters:
Name Type Argument
callback SetImmediateCallbackCallback
...args any <repeatable>
Returns: { any }

M setInterval(callback: SetIntervalCallbackCallback, ms: number, ...args: any) NodeJS.Timer

Parameters:
Name Type Argument
callback SetIntervalCallbackCallback
ms number
...args any <repeatable>
Returns: { NodeJS.Timer }

M setTimeout(callback: SetTimeoutCallbackCallback, ms: number, ...args: any) NodeJS.Timer

Parameters:
Name Type Argument
callback SetTimeoutCallbackCallback
ms number
...args any <repeatable>
Returns: { NodeJS.Timer }

Callbacks

SetImmediateCallbackCallback(...args: any) void

Parameters:
Name Type Argument
...args any <repeatable>
Returns: { void }

SetIntervalCallbackCallback(...args: any) void

Parameters:
Name Type Argument
...args any <repeatable>
Returns: { void }

SetTimeoutCallbackCallback(...args: any) void

Parameters:
Name Type Argument
...args any <repeatable>
Returns: { void }

Type Definitions

T ModuleType

Type:
  • Object
Properties:
Name Type
exports any
id string
filename string
loaded boolean
parent any
children Array.<any>