external interface Hot
Helper interface for Hot Module Replacement (HMR).
abstract val data: dynamic |
abstract fun accept(): Unit abstract fun accept(dependency: String, callback: () -> Unit): Unit abstract fun accept(dependencies: Array<String>, callback: (updated: Array<String>) -> Unit): Unit |
|
abstract fun dispose(callback: (dynamic) -> Unit): Unit |
fun <T> Any?.createInstance(vararg args: dynamic): T
Helper function for creating JavaScript objects from dynamic constructors. |