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

Move Promise argument into an option #28

Closed
sindresorhus opened this issue Jul 12, 2016 · 0 comments
Closed

Move Promise argument into an option #28

sindresorhus opened this issue Jul 12, 2016 · 0 comments

Comments

@sindresorhus
Copy link
Owner

Since we're soon doing a major release anyways.

pify(input, [promiseModule], [options]) => pify(input, [options])

The need to pass in a Promise fill is not very big anymore and would be better to move this into an option to clean up the interface.

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

No branches or pull requests

1 participant