How to fix this Functions that return promises must be async @typescript-eslint/promise-function-async #10590
Replies: 1 comment
-
As per our contributing guide that you ticked as having read. We do not use discussions for support. Please read the guide for avenues for support. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Body
Body of the technical discussion...
With react 19 when i have this
const render = (): ReactNode => <div/>;
i get the error Functions that return promises must be async @typescript-eslint/promise-function-async. How can i fix this?Additional Info
Any additional info...
With react 18 i was not getting the error.
Before you submit your discussion, please confirm the following. If any of these required steps are not taken, we may not be able to review your RFC. Help us to help you!
Beta Was this translation helpful? Give feedback.
All reactions