November 2019
Beginner
804 pages
20h 1m
English
Now we can discuss another great feature of TypeScript. As you know, at its heart, TypeScript is a transpiler that can do wonders with your code and can make it compatible with older runtime environments, even if you're using the newest ECMAScript features.
TypeScript can actually transpile your modules into different module types, depending on the compiler's configuration. By default, TypeScript generates CommonJS modules, but it also supports the following:
You can modify the type of modules that you want your code to be transpiled to using the module option.
Read now
Unlock full access