zed icon indicating copy to clipboard operation
zed copied to clipboard

lint: 'await' has no effect on the type of this expression although it does

Open Dinuda opened this issue 1 year ago • 0 comments

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

image

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

Dinuda avatar Jan 27 '24 04:01 Dinuda