Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复安卓RN42+ es-promisify报错的问题【无依赖】 #39

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pinqy520
Copy link

用如下代码替换了es-promisify

function promisify(fn, handler) {
  return function (...args) {
    return new Promise(function (resolve, reject) {
      fn(...args, handler.bind({ resolve, reject }))
    })
  }
}

@cnpmge
Copy link

cnpmge commented Apr 2, 2020

这个是在哪个文件替换的?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants