typescript-transformer-handbook icon indicating copy to clipboard operation
typescript-transformer-handbook copied to clipboard

Question: Can I use built-in typescript transformers?

Open alexeychikk opened this issue 2 years ago • 0 comments

I need to transform ES6 syntax into ES5 but keep types. So I need TypeScript ES6 to TypeScript ES5 transformer (not JS). ts.transpile() strips all the types and essentially outputs JS (which is not what I need). Can I use built-in typescript transformers to achieve this?

alexeychikk avatar Aug 27 '23 19:08 alexeychikk