ExportedSymbol

data class ExportedSymbol(val name: String, val kind: SyntheticJSModule.ExportKind, val from: String? = null) : Record

Exported Module Symbol

Describes a symbol which is exported from a synthetic module; such symbols are used when initializing the module object in ESM mode, and used for generating bindings in string form for CJS mode.

Parameters

name

Symbol to export this as; must be a valid identifier in JavaScript.

kind

Kind of export this is.

from

Optional source symbol for this symbol.

Constructors

Link copied to clipboard
constructor(name: String, kind: SyntheticJSModule.ExportKind, from: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val from: String? = null
Link copied to clipboard
Link copied to clipboard