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
|
Full Usage:
FromAmbientModule specifier
Parameters:
string
|
An export of an ambient module declaration (`declare module "cloudflare:workers"`),
carrying the specifier that declaration quotes. Values bind with
`[
|
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
`[ |
Full Usage:
FromModule
|
A member of the entry file's module symbol - bound with `[ |
Instance members
| Instance member |
Description
|
Full Usage:
this.IsFromAmbientModule
Returns: bool
|
|
Full Usage:
this.IsFromGlobal
Returns: bool
|
|
Full Usage:
this.IsFromModule
Returns: bool
|
|