mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-30 12:40:03 +02:00
Update build command in docs (#5569)
This commit is contained in:
@@ -32,13 +32,13 @@ npm install --save-dev typescript
|
|||||||
- Compile your TypeScript code using the following command:
|
- Compile your TypeScript code using the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
tsc
|
npx tsc
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: You can also compile individual TypeScript files by specifying the file name after the tsc command. For example:
|
Note: You can also compile individual TypeScript files by specifying the file path after the tsc command. For example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
tsc index.ts
|
npx tsc ./src/index.ts
|
||||||
```
|
```
|
||||||
|
|
||||||
And you're all set! You can now start writing TypeScript code in your project.
|
And you're all set! You can now start writing TypeScript code in your project.
|
||||||
|
Reference in New Issue
Block a user