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