TypeScript Version: master
Code
See comment in moveToNewFile_js.ts (as of #23726).
We are moving const y away, and also inserting a node after the previous statement. We can't simply use replaceNode since we don't know that these two changes will be related.