The type of JS promises and promise-like objects, JSPromise <: JSObject.
typedef JSPromise = js_types.JSPromise;