diff --git a/docs/docs/getting-started/typescript.md b/docs/docs/getting-started/typescript.md index 3c36bdb8..d63fab02 100644 --- a/docs/docs/getting-started/typescript.md +++ b/docs/docs/getting-started/typescript.md @@ -73,7 +73,7 @@ npm i -D typescript @types/node Use TypeScript to compile your F# code. ```bash -npx tsc Program.fs --target es2022 +npx tsc Program.fs.ts --target es2022 --skipLibCheck ``` @@ -121,7 +121,7 @@ Run Fable and TypeScript in watch mode. The follwing command start Fable in watch mode, and after the first Fable compilation, it will start TypeScript in watch mode. ```bash -dotnet fable watch --lang typescript --run npx tsc Program.fs.ts --target es2022 --watch --preserveWatchOutput +dotnet fable watch --lang typescript --run npx tsc Program.fs.ts --target es2022 --skipLibCheck --watch --preserveWatchOutput ``` > You can use your favorite build system instead to launch the different commands in parallel.