mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-30 15:15:38 -05:00
1) Replace range, rather than node, to leave trivia intact. 2) Only replace node in the innermost scope - otherwise insert as usual and delete the original statement.