SyntheticModule

constructor(    exportNames: <Error class: unknown class><String>,     evaluateCallback: () -> Unit,     options: SyntheticModuleOptions = definedExternally)(source)

Creates a new SyntheticModule instance.

Parameters

exportNames

Array of names that will be exported from the module.

evaluateCallback

Called when the module is evaluated.