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

docs(toPromise): fix the type and attribute of PromiseCtor param #2636

Merged
merged 1 commit into from
Jun 14, 2017

Conversation

SangKa
Copy link
Contributor

@SangKa SangKa commented Jun 3, 2017

This PR is need you guys to check because I'm not so sure the format and the type of the params whether it is correct. @kwonoj @staltz @benlesh

Description:
In the param of toPromise operator, now the PromiseCtor param is as below:
@param PromiseCtor promise The constructor of the promise. If not provided, it will look for a constructor first in Rx.config.Promise then fall back to the native Promise constructor if available.

First the PromiseCtor is optional, and secondly there is no type for it.

Related issue (if exists):

@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.735% when pulling 42495bc on SangKa:fix-toPromise-docs-params into a7af560 on ReactiveX:master.

@benlesh benlesh merged commit 88ec8dc into ReactiveX:master Jun 14, 2017
@benlesh
Copy link
Member

benlesh commented Jun 14, 2017

Thank you @SangKa!

@SangKa SangKa deleted the fix-toPromise-docs-params branch June 15, 2017 01:51
@lock
Copy link

lock bot commented Jun 6, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants