6 ms·
Typescript has always transpiled to ES5 (by default it transpiles to ES3 actually). See: https://stackoverflow.com/questions/41173215/does-typescript-transpilat
by pafje 9y ago
Typescript has always transpiled to ES5 (by default it transpiles to ES3 actually). See: https://stackoverflow.com/questions/41173215/does-typescript-transpilation-handle-transpiling-es6-to-es5 https://stackoverflow.com/questions/41173215/does-typescript...
The only counter-example that I know of is that async/await were initially only supported when transpiling to ES6, but this is not true since at least 2.2 (https://github.com/Microsoft/TypeScript/issues/5210 https://github.com/Microsoft/TypeScript/issues/5210).