DEV Community

Umme Q
Umme Q

Posted on

6

Transpiling in Angular

1.Transpiling code is a similar concept to the compilation process, with one big difference.

•Compiling: code from a high level language is get converted to machine level language.
•Transpiling: code from a high level language gets converted to another high level language.

2.Browsers can't execute TypeScript directly. Typescript must be "transpiled" into JavaScript using the tsc compiler, which requires some configuration

TypeScript----->Transpile----->JavaScript
Command----->tsc filename.ts

3.Three two files for TypeScript Configuration.
•tsconfig.json—TypeScript compiler configuration.
•typings—TypesScript declaration files.

4.Will add TypeScript configuration file called tsconfig.json to o project to guide the compiler as it generates JavaScript files.

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more