Logo Xantham

ExportOrigin Type

Where a harvested name came from, which is what decides how a *value* binds in JavaScript. Types are unaffected: an interface is the same F# declaration either way.

Union cases

Union case Description

FromAmbientModule specifier

Full Usage: FromAmbientModule specifier

Parameters:
    specifier : string

An export of an ambient module declaration (`declare module "cloudflare:workers"`), carrying the specifier that declaration quotes. Values bind with `[]`.

specifier : string

FromGlobal

Full Usage: FromGlobal

An ambient declaration in global scope (`declare class Response`). A global type library has no module to import from; the name is already on `globalThis`, so values bind with `[]` instead.

FromModule

Full Usage: FromModule

A member of the entry file's module symbol - bound with `[]`.

Instance members

Instance member Description

this.IsFromAmbientModule

Full Usage: this.IsFromAmbientModule

Returns: bool
Returns: bool

this.IsFromGlobal

Full Usage: this.IsFromGlobal

Returns: bool
Returns: bool

this.IsFromModule

Full Usage: this.IsFromModule

Returns: bool
Returns: bool

Type something to start searching.