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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript 5.0 unfortunately breaks most examples #30

Open
tmcw opened this issue Mar 31, 2023 · 2 comments
Open

TypeScript 5.0 unfortunately breaks most examples #30

tmcw opened this issue Mar 31, 2023 · 2 comments

Comments

@tmcw
Copy link
Contributor

tmcw commented Mar 31, 2023

Example in the playground

Unfortunately, most examples in this guide (and most of my code too 馃槅 ) is broken in TypeScript 5.0 because the transformer type now requires its return to be a SourceFile, not just a Node.

@hax
Copy link

hax commented Jun 15, 2023

Another problem is ts.getMutableClone seems have been totally removed. (though it already be deprecated in previous versions).

@itsdouges
Copy link
Owner

Happy to have a pull request fixing things up! Unfortunately I won't have time to fix things.

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

No branches or pull requests

3 participants