Skip to content

Commit 4326713

Browse files
author
Maxime Mangel
committed
Fix TypeScript getting started guide
1 parent da68ffd commit 4326713

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/getting-started/typescript.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ npm i -D typescript @types/node
7373
Use TypeScript to compile your F# code.
7474

7575
```bash
76-
npx tsc Program.fs --target es2022
76+
npx tsc Program.fs.ts --target es2022 --skipLibCheck
7777
```
7878

7979
</li>
@@ -121,7 +121,7 @@ Run Fable and TypeScript in watch mode.
121121
The follwing command start Fable in watch mode, and after the first Fable compilation, it will start TypeScript in watch mode.
122122

123123
```bash
124-
dotnet fable watch --lang typescript --run npx tsc Program.fs.ts --target es2022 --watch --preserveWatchOutput
124+
dotnet fable watch --lang typescript --run npx tsc Program.fs.ts --target es2022 --skipLibCheck --watch --preserveWatchOutput
125125
```
126126

127127
> You can use your favorite build system instead to launch the different commands in parallel.

0 commit comments

Comments
 (0)