TypeScript Compiler API loses formatting during transformation TypeScript Compiler API loses formatting during transformation typescript typescript