SyntheticModule

constructor(exportNames: ERROR CLASS: Symbol not found for js.array.ReadonlyArray<kotlin/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.