Skip to content

Commit 9f2a633

Browse files
committed
Add command syntax
1 parent 474df9e commit 9f2a633

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ You can download the PDF and Epub version of this repository from the latest run
329329
3. ### What is TypeScript?
330330
TypeScript is a typed superset of JavaScript created by Microsoft that adds optional types, classes, async/await, and many other features, and compiles to plain JavaScript. Angular built entirely in TypeScript and used as a primary language.
331331
You can install it globally as
332-
```
332+
```cmd
333333
npm install -g typescript
334334
```
335335
Let's see a simple example of TypeScript usage,
@@ -1531,7 +1531,7 @@ You can download the PDF and Epub version of this repository from the latest run
15311531
77. ### What is JIT?
15321532
Just-in-Time (JIT) is a type of compilation that compiles your app in the browser at runtime. JIT compilation is the default when you run the ng build (build only) or ng serve (build and serve locally) CLI commands. i.e, the below commands used for JIT compilation,
15331533
1534-
```javascript
1534+
```cmd
15351535
ng build
15361536
ng serve
15371537
```
@@ -1541,7 +1541,7 @@ You can download the PDF and Epub version of this repository from the latest run
15411541
78. ### What is AOT?
15421542
Ahead-of-Time (AOT) is a type of compilation that compiles your app at build time. For AOT compilation, include the `--aot` option with the ng build or ng serve command as below,
15431543
1544-
```javascript
1544+
```cmd
15451545
ng build --aot
15461546
ng serve --aot
15471547
```

0 commit comments

Comments
 (0)