Logo Xantham

ImportBinding Type

How a value export is bound to its JavaScript module.

Union cases

Union case Description

GlobalName string

Full Usage: GlobalName string

Parameters:
    Item : string

An ambient global (`declare function fetch`): there is no module to import from, so the name is taken off `globalThis` with `[]`.

Item : string

ImportDefault

Full Usage: ImportDefault

ImportFrom(name, specifier)

Full Usage: ImportFrom(name, specifier)

Parameters:
    name : string
    specifier : string

An export of an ambient module, under the specifier that module declares. The specifier is the declaration's own rather than the run's runtime package.

name : string
specifier : string

ImportNamed string

Full Usage: ImportNamed string

Parameters:
    Item : string

Item : string

Instance members

Instance member Description

this.IsGlobalName

Full Usage: this.IsGlobalName

Returns: bool
Returns: bool

this.IsImportDefault

Full Usage: this.IsImportDefault

Returns: bool
Returns: bool

this.IsImportFrom

Full Usage: this.IsImportFrom

Returns: bool
Returns: bool

this.IsImportNamed

Full Usage: this.IsImportNamed

Returns: bool
Returns: bool

Type something to start searching.