3 ms·
No, typescript has full type erasure and almost no type-directed emit. The shimming you're seeing is probably the result of tsc downleveling newer javascript fe
by consilient 4y ago
No, typescript has full type erasure and almost no type-directed emit. The shimming you're seeing is probably the result of tsc downleveling newer javascript features to older browsers: typescript itself has nothing to do with it.
https://www.typescriptlang.org/tsconfig#target https://www.typescriptlang.org/tsconfig#target