custom

external val custom: <Error class: unknown class>(source)

That can be used to declare custom promisified variants of functions.