Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Global

Hierarchy

  • Global

Index

Properties

Array

Array: ArrayConstructor

ArrayBuffer

ArrayBuffer: ArrayBufferConstructor

Boolean

Boolean: BooleanConstructor

Buffer

Buffer: typeof Buffer

DataView

DataView: DataViewConstructor

Date

Date: DateConstructor

Error

Error: ErrorConstructor

EvalError

EvalError: EvalErrorConstructor

Float32Array

Float32Array: Float32ArrayConstructor

Float64Array

Float64Array: Float64ArrayConstructor

Function

Function: FunctionConstructor

GLOBAL

GLOBAL: Global

Infinity

Infinity: number

Int16Array

Int16Array: Int16ArrayConstructor

Int32Array

Int32Array: Int32ArrayConstructor

Int8Array

Int8Array: Int8ArrayConstructor

Intl

Intl: typeof Intl

JSON

JSON: JSON

Map

Map: MapConstructor

Math

Math: Math

ModLoader

ModLoader: any

NaN

NaN: number

Number

Number: NumberConstructor

Object

Object: ObjectConstructor

Promise

Promise: PromiseConstructor

RangeError

RangeError: RangeErrorConstructor

ReferenceError

ReferenceError: ReferenceErrorConstructor

RegExp

RegExp: RegExpConstructor

Set

Set: SetConstructor

String

String: StringConstructor

Symbol

Symbol: Function

SyntaxError

SyntaxError: SyntaxErrorConstructor

TypeError

TypeError: TypeErrorConstructor

URIError

URIError: URIErrorConstructor

Uint16Array

Uint16Array: Uint16ArrayConstructor

Uint32Array

Uint32Array: Uint32ArrayConstructor

Uint8Array

Uint8Array: Uint8ArrayConstructor

Uint8ClampedArray

Uint8ClampedArray: Uint8ClampedArrayConstructor

WeakMap

WeakMap: WeakMapConstructor

WeakSet

WeakSet: WeakSetConstructor

clearImmediate

clearImmediate: (immediateId: Immediate) => void

Type declaration

clearInterval

clearInterval: (intervalId: Timeout) => void

Type declaration

    • Parameters

      Returns void

clearTimeout

clearTimeout: (timeoutId: Timeout) => void

Type declaration

    • Parameters

      Returns void

console

console: Console

decodeURI

decodeURI: (encodedURI: string) => string

Type declaration

    • (encodedURI: string): string
    • Gets the unencoded version of an encoded Uniform Resource Identifier (URI).

      Parameters

      • encodedURI: string

        A value representing an encoded URI.

      Returns string

decodeURIComponent

decodeURIComponent: (encodedURIComponent: string) => string

Type declaration

    • (encodedURIComponent: string): string
    • Gets the unencoded version of an encoded component of a Uniform Resource Identifier (URI).

      Parameters

      • encodedURIComponent: string

        A value representing an encoded URI component.

      Returns string

encodeURI

encodeURI: (uri: string) => string

Type declaration

    • (uri: string): string
    • Encodes a text string as a valid Uniform Resource Identifier (URI)

      Parameters

      • uri: string

        A value representing an encoded URI.

      Returns string

encodeURIComponent

encodeURIComponent: (uriComponent: string | number | boolean) => string

Type declaration

    • (uriComponent: string | number | boolean): string
    • Encodes a text string as a valid component of a Uniform Resource Identifier (URI).

      Parameters

      • uriComponent: string | number | boolean

        A value representing an encoded URI component.

      Returns string

escape

escape: (str: string) => string

Type declaration

    • (str: string): string
    • Parameters

      • str: string

      Returns string

eval

eval: (x: string) => any

Type declaration

    • (x: string): any
    • Evaluates JavaScript code and executes it.

      Parameters

      • x: string

        A String value that contains valid JavaScript code.

      Returns any

gc

gc: () => void

Type declaration

    • (): void
    • Returns void

global

global: Global

isFinite

isFinite: (number: number) => boolean

Type declaration

    • (number: number): boolean
    • Determines whether a supplied number is finite.

      Parameters

      • number: number

        Any numeric value.

      Returns boolean

isNaN

isNaN: (number: number) => boolean

Type declaration

    • (number: number): boolean
    • Returns a Boolean value that indicates whether a value is the reserved value NaN (not a number).

      Parameters

      • number: number

        A numeric value.

      Returns boolean

module-alias

module-alias: any

parseFloat

parseFloat: (string: string) => number

Type declaration

    • (string: string): number
    • Converts a string to a floating-point number.

      Parameters

      • string: string

        A string that contains a floating-point number.

      Returns number

parseInt

parseInt: (s: string, radix?: number) => number

Type declaration

    • (s: string, radix?: number): number
    • Converts a string to an integer.

      Parameters

      • s: string

        A string to convert into a number.

      • Optional radix: number

        A value between 2 and 36 that specifies the base of the number in numString. If this argument is not supplied, strings with a prefix of '0x' are considered hexadecimal. All other strings are considered decimal.

      Returns number

process

process: Process

queueMicrotask

queueMicrotask: { (callback: VoidFunction): void; (callback: () => void): void }

Type declaration

    • (callback: VoidFunction): void
    • (callback: () => void): void
    • Parameters

      • callback: VoidFunction

      Returns void

    • Parameters

      • callback: () => void
          • (): void
          • Returns void

      Returns void

root

root: Global
deprecated

Use global.

setImmediate

setImmediate: (callback: (...args: any[]) => void, ...args: any[]) => Immediate

Type declaration

    • (callback: (...args: any[]) => void, ...args: any[]): Immediate
    • Parameters

      • callback: (...args: any[]) => void
          • (...args: any[]): void
          • Parameters

            • Rest ...args: any[]

            Returns void

      • Rest ...args: any[]

      Returns Immediate

setInterval

setInterval: (callback: (...args: any[]) => void, ms: number, ...args: any[]) => Timeout

Type declaration

    • (callback: (...args: any[]) => void, ms: number, ...args: any[]): Timeout
    • Parameters

      • callback: (...args: any[]) => void
          • (...args: any[]): void
          • Parameters

            • Rest ...args: any[]

            Returns void

      • ms: number
      • Rest ...args: any[]

      Returns Timeout

setTimeout

setTimeout: (callback: (...args: any[]) => void, ms: number, ...args: any[]) => Timeout

Type declaration

    • (callback: (...args: any[]) => void, ms: number, ...args: any[]): Timeout
    • Parameters

      • callback: (...args: any[]) => void
          • (...args: any[]): void
          • Parameters

            • Rest ...args: any[]

            Returns void

      • ms: number
      • Rest ...args: any[]

      Returns Timeout

undefined

undefined: undefined

unescape

unescape: (str: string) => string

Type declaration

    • (str: string): string
    • Parameters

      • str: string

      Returns string

Optional v8debug

v8debug: any

Generated using TypeDoc