toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-js
/
js.import
Package-level
declarations
Types
Functions
Types
import
Link copied to clipboard
js
external
object
import
Import
Attributes
Link copied to clipboard
js
typealias
ImportAttributes
=
ReadonlyRecord
<
String
,
String
>
Import
Call
Options
Link copied to clipboard
js
external
interface
ImportCallOptions
The type for the optional second argument to
import()
.
Import
Meta
Link copied to clipboard
js
external
interface
ImportMeta
The type of
import.meta
.
Functions
import
Link copied to clipboard
js
suspend external
fun
<
T
>
import
(
path
:
String
,
options
:
ImportCallOptions
=
definedExternally
)
:
T
import
Async
Link copied to clipboard
js
external
fun
<
T
>
importAsync
(
path
:
String
,
options
:
ImportCallOptions
=
definedExternally
)
:
Promise
<
T
>