kotlin-stdlib / kotlin.js / Promise / resolve resolve JS 1.1 fun <S> resolve(e: S): Promise<S>(source) fun <S> resolve(e: Promise<S>): Promise<S>(source)