quick fix for function only contains one jsx element and have not the return statement #25751
Closed
4 tasks done
Labels
Domain: Error Messages
The issue relates to error messaging
Domain: Quick Fixes
Editor-provided fixes, often called code actions.
Good First Issue
Well scoped, documented and has the green light
Help Wanted
You can do this
Suggestion
An idea for TypeScript
Update Docs on Next Release
Indicates that this PR affects docs
Milestone
Search Terms
quickfix, jsx, function
Suggestion
quick fix for function only contains one jsx element and have not the return statement
Use Cases
the pattern of a function with block body that only have one jsx element without return statement
that seems a error
could we provide a quickfix for that?
Examples
to
Checklist
My suggestion meets these guidelines:
The text was updated successfully, but these errors were encountered: