-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
typescript v4 support #68
Comments
Thanks for the report, @vladimiry @danielpza - This is due to the fact that If you get a chance to have a look at this (before I can), I'd like to see what happens if we drop the workaround and try it using the normal methods. ( This bug report was filed, but the OP closed it due to finding the workaround - which now no longer works. If we're lucky, this won't be a problem with the new factory system. If it is still a problem, I'll file a new bug report with TS and probably just bite the bullet and do a PR for TS that fixes it so we can publish a fix for TS 4. |
Confirm that plugin doesn't replace paths in declaration files but it works with |
Sorry that this took awhile to get to. I've been completely swamped. The good news is, the upgrade for TS4 compatibility is done and was painless. This means that type specifiers in and import or export declaration get output in the JS, which is not good. I'm investigating it now to see if I can determine what's happening. Stay tuned... |
Fixed. New version incoming: #69 BackgroundFor those interested, I didn't track out exactly what was happening in the compiler. I found a few flags discrepancies on the AST nodes (between transformed and original), however, accounting for them didn't make a difference. There may be an internal map somewhere linking some information to the pre-transformed node that is getting lost after transformation. The MS team would have more knowledge on that area of the codebase than I do, and I don't have the time to dig further into it; however, I was able to find another method to update the node without causing any issues. In addition to the fix, I've updated the transformer code to prefer the new TS IssueI've also opened a new issue for the compiler, which can be tracked here: microsoft/TypeScript#40603 |
Closes #68 * Added prettier to devDependencies * Formatting + added prettier format script * Update contributors field
Can confirm issue resolving on my case. Thanks everyone involved. |
Big thanks to @nonara for putting up the PR 🎉. @all-contributors add @vladimiry @vwpo for bug |
I've put up a pull request to add @vladimiry! 🎉 |
@all-contributors also add @vwpo for bug smh |
I've put up a pull request to add @vwpo! 🎉 |
[email protected]
[email protected]
The text was updated successfully, but these errors were encountered: