Skip to content

Commit

Permalink
Fix TypeScript getting started guide
Browse files Browse the repository at this point in the history
  • Loading branch information
MangelMaxime committed Nov 25, 2023
1 parent da68ffd commit 4326713
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/getting-started/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

</li>
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 4326713

Please sign in to comment.