Skip to content

Report assignability errors on the return/yield keywords #52943

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

Merged

Conversation

Andarist
Copy link
Contributor

closes #52934

I'm open to feedback as to how this could be further improved.

@typescript-bot typescript-bot added the For Backlog Bug PRs that fix a backlog bug label Feb 23, 2023
@jakebailey
Copy link
Member

jakebailey commented Mar 7, 2023

I said this on #52934 (comment) but I am "pro" this change just because we have other instances (Playground Link) which place this error in a more-convenient less-squiggly place. It'd be cool do to this more. But, I'll defer to @DanielRosenwasser or a design meeting on this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Backlog Bug PRs that fix a backlog bug
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Improve error locations for return type errors
5 participants