-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
await (async () => {})() :: Cannot find name 'await'.ts(2304) #5918
Comments
Note: It works perfectly fine with Seems to have to do with
|
I thought we had an issue for it open here, but it is an upstream TypeScript bug. Ref: microsoft/TypeScript#38483 |
this error disappear on deno 1.19.1, can this issue be closed? |
Not fixed on Deno |
@soshimee can you please provide a full reproduction and the full output of |
Can confirm. This never worked. With
With
|
|
works for me
|
the problem is not the code execution but the typescript error it raises when trying to typecheck the file |
Fixed by #14875. |
syntactically it is correct, but still it returns error
Cannot find name 'await'.ts(2304)
The text was updated successfully, but these errors were encountered: