From bd5eee4a9ec4cec6008a35c06c5934ebc4100eab Mon Sep 17 00:00:00 2001 From: petitpandarouge Date: Mon, 29 Apr 2024 12:38:39 +0200 Subject: [PATCH] Update build command in docs (#5569) --- .../content/100-typescript/102-install-configure/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/data/roadmaps/typescript/content/100-typescript/102-install-configure/index.md b/src/data/roadmaps/typescript/content/100-typescript/102-install-configure/index.md index de2102a21..aff12834e 100644 --- a/src/data/roadmaps/typescript/content/100-typescript/102-install-configure/index.md +++ b/src/data/roadmaps/typescript/content/100-typescript/102-install-configure/index.md @@ -32,13 +32,13 @@ npm install --save-dev typescript - Compile your TypeScript code using the following command: ```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 -tsc index.ts +npx tsc ./src/index.ts ``` And you're all set! You can now start writing TypeScript code in your project.