TypeScript 5.0 unfortunately breaks most examples
tmcw opened this issue ยท 2 comments
tmcw commented
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 commented
Another problem is ts.getMutableClone
seems have been totally removed. (though it already be deprecated in previous versions).
itsdouges commented
Happy to have a pull request fixing things up! Unfortunately I won't have time to fix things.