zed
zed copied to clipboard
lint: 'await' has no effect on the type of this expression although it does
Check for existing issues
- [X] Completed
Describe the bug / provide steps to reproduce it
I have an async function that returns an object. However when I try to use it with await. There is a warning saying that await has no effect on the type of this expression.
Environment
Node v21.10
If applicable, add mockups / screenshots to help explain present your vision of the feature
If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.
No response