File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,19 @@ Deno allows you to type-check your code (without executing it) with the
36
36
[ ` deno check ` ] ( /runtime/reference/cli/check/ ) subcommand:
37
37
38
38
``` shell
39
+ # Check the current directory/module
40
+ deno check
41
+
42
+ # Check a specific TypeScript file
39
43
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
41
46
deno check --all module.ts
42
- # code snippets written in JSDoc can also be type checked
47
+
48
+ # Check code snippets in JSDoc comments
43
49
deno check --doc module.ts
44
- # or type check code snippets in markdown files
50
+
51
+ # Check code snippets in markdown files
45
52
deno check --doc-only markdown.md
46
53
```
47
54
You can’t perform that action at this time.
0 commit comments