We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
At least Chrome unwraps promise values. This makes a different runtime behavior.
TypeScript Version: 2.7.0-dev.201xxxxx
Search Terms:
Code
(async function* () {yield Promise.resolve(0)})().next().then(console.log)
Expected behavior:
Outputs {value: 0, done: false}.
{value: 0, done: false}
Actual behavior:
Outputs {value: Promise, done: false}.
{value: Promise, done: false}
Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered:
Related to #21115
Sorry, something went wrong.
Thanks, it seems to address the same issue.
No branches or pull requests
At least Chrome unwraps promise values. This makes a different runtime behavior.
TypeScript Version: 2.7.0-dev.201xxxxx
Search Terms:
Code
Expected behavior:
Outputs
{value: 0, done: false}
.Actual behavior:
Outputs
{value: Promise, done: false}
.Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered: