update

fun update(response: dynamic): Promise<Unit>(source)

Since Kotlin

1.1
fun update(response: JsAny?): Promise<Nothing?>(source)

Since Kotlin

1.8