Skip to content

Commit 5a5986f

Browse files
update check docs (#1668)
1 parent 0792a03 commit 5a5986f

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

runtime/fundamentals/typescript.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,19 @@ Deno allows you to type-check your code (without executing it) with the
3636
[`deno check`](/runtime/reference/cli/check/) subcommand:
3737

3838
```shell
39+
# Check the current directory/module
40+
deno check
41+
42+
# Check a specific TypeScript file
3943
deno check module.ts
40-
# or also type check remote modules and npm packages
44+
45+
# Include remote modules and npm packages in the check
4146
deno check --all module.ts
42-
# code snippets written in JSDoc can also be type checked
47+
48+
# Check code snippets in JSDoc comments
4349
deno check --doc module.ts
44-
# or type check code snippets in markdown files
50+
51+
# Check code snippets in markdown files
4552
deno check --doc-only markdown.md
4653
```
4754

0 commit comments

Comments
 (0)