Skip to content

SyntheticModuleOptions

[<Interface>]
type SyntheticModuleOptions =
    abstract member context: Context option with get, set
    abstract member identifier: string option with get, set
    static member Create (?identifier: string, ?context: Context) : SyntheticModuleOptions
AssemblyXantham.Fable.Node
Attributes[<Interface>]

Properties

abstract member context: Context option with get, set

The contextified object as returned by the vm.createContext() method, to compile and evaluate this module in.

abstract member identifier: string option with get, set

String used in stack traces.

Methods

static member Create (?identifier: string, ?context: Context) : SyntheticModuleOptions