W3cubDocs

/Kotlin

import

Platform and version requirements: JS (1.1)
val import: String

name of a module to import declaration from. It is not interpreted by the Kotlin compiler, it's passed as is directly to the target module system.

Property

import - name of a module to import declaration from. It is not interpreted by the Kotlin compiler, it's passed as is directly to the target module system.

See Also

JsNonModule

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-js-module/import.html