Skip to content
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 blocks are not properly parsed #120

Closed
KentoNishi opened this issue Dec 7, 2021 · 7 comments · Fixed by #121
Closed

Await blocks are not properly parsed #120

KentoNishi opened this issue Dec 7, 2021 · 7 comments · Fixed by #121

Comments

@KentoNishi
Copy link

KentoNishi commented Dec 7, 2021

The await block doesn't seem like it's being parsed correctly. Some screenshots:

image

image

Svelte docs on await block: https://svelte.dev/tutorial/await-blocks

@ota-meshi よろしくお願いします🙇‍♂️

@KentoNishi
Copy link
Author

This is the template I'm using: https://github.com/KentoNishi/svelte-typescript-template

If it's a config error on my side, it would be amazing if you could help me identify where the problem is :)

@ota-meshi
Copy link
Member

Thank you for sharing your repository!
It seems to be a bug when combined with typescript-eslint. I will look for the cause and fix it.

@ota-meshi
Copy link
Member

ota-meshi commented Dec 8, 2021

If you want to work around this issue right away, you can change the number to a different name.
my misunderstanding.

@KentoNishi
Copy link
Author

no problem, thanks for looking into it! in the meantime i've resorted to just storing the result of the promise in a variable

@KentoNishi
Copy link
Author

@ota-meshi 上手くいきました!本当にありがとうございます ♥

image

@ota-meshi
Copy link
Member

@KentoNishi 連絡ありがとうございます。よかったです😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants