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
external
object
import
Import
Attributes
Link copied to clipboard
typealias
ImportAttributes
=
ReadonlyRecord
<
String
,
String
>
Import
Call
Options
Link copied to clipboard
external
interface
ImportCallOptions
The type for the optional second argument to
import()
.
Import
Meta
Link copied to clipboard
external
interface
ImportMeta
The type of
import.meta
.
Module
Link copied to clipboard
external
interface
Module
<
out
T
:
Any
>
Functions
import
Link copied to clipboard
suspend external
fun
<
T
>
import
(
path
:
String
,
options
:
ImportCallOptions
=
definedExternally
)
:
T
import
Async
Link copied to clipboard
external
fun
<
T
>
importAsync
(
path
:
String
,
options
:
ImportCallOptions
=
definedExternally
)
:
Promise
<
T
>