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
"XXX" is not declared in Babel's scope tracker #38
Comments
Can you attach a test case? On the surface this issue doesn’t seem like a problem with async-to-promises |
Because My repo is private, I can't upload it. And I can't reproduce it when setup a demo... babel/babel#10264 does this helpful? |
I'll review the source to make sure all declarations are being registers, but I think they already should be. If you could get a repro case together that would make it much easier to resolve. |
Thanks a lot! I keep trying too. |
Hi, @rpetrich I figure out warning disappear when I remove all variable definition before the async function. Once I add variable definition before, warning show up. Hope this is helpful |
https://github.com/Darmody/async-to-promise-demo @rpetrich Here is a simple reproduce demo |
Thanks for providing a repro. This has now been fixed in master. |
export async function in ts get this warning.
The text was updated successfully, but these errors were encountered: