From 4326713df7b711cc662abaa6633dd67336fdf408 Mon Sep 17 00:00:00 2001 From: Maxime Mangel Date: Sat, 25 Nov 2023 22:23:03 +0100 Subject: [PATCH] Fix TypeScript getting started guide --- docs/docs/getting-started/typescript.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.