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

Refactoring promises returning functions to use async and await #26373

Conversation

elizabethdinella
Copy link
Contributor

@elizabethdinella elizabethdinella commented Aug 10, 2018

Issue: #25082
Open bugs: #26374, #26375, #26376

clone = node && getSynthesizedDeepCloneWorker(node as NonNullable<T>, renameMap, checker, callback);
}

if (clone && !includeTrivia) suppressLeadingAndTrailingTrivia(clone);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clone [](start = 12, length = 5)

If clone can be undefined, the next if should check it too.

Copy link
Member

@amcasey amcasey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The merge looks good. It would be cool if there were TODOs with bug numbers in the code, but just listing them in the PR would be helpful enough.

@elizabethdinella elizabethdinella merged commit 421730a into microsoft:master Aug 10, 2018
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