-
Notifications
You must be signed in to change notification settings - Fork 38
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
Enable single return statement type inference in slow types #459
Labels
enhancement
New feature or request
Comments
Don't we already do this? |
No, only for arrow functions that have an expression rather than a block as a body |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Isolated declarations now allows this: https://www.typescriptlang.org/play/?isolatedDeclarations=true&ts=5.5.0-beta#code/KYDwDg9gTgLgBAMwK4DsDGMCWEVwIYDOAJgBQCUcA3gFBx1xTAxJS4CMA3NQL5A
The text was updated successfully, but these errors were encountered: