Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions runtime/fundamentals/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,19 @@ Deno allows you to type-check your code (without executing it) with the
[`deno check`](/runtime/reference/cli/check/) subcommand:

```shell
# Check the current directory/module
deno check

# Check a specific TypeScript file
deno check module.ts
# or also type check remote modules and npm packages

# Include remote modules and npm packages in the check
deno check --all module.ts
# code snippets written in JSDoc can also be type checked

# Check code snippets in JSDoc comments
deno check --doc module.ts
# or type check code snippets in markdown files

# Check code snippets in markdown files
deno check --doc-only markdown.md
```

Expand Down